Source/plt-web/plt-web-ui/src/util/func.js
@@ -37,15 +37,15 @@ */ static rowClickHandler(row, CrudRef, lastIndex, setLastIndex, setSelectList) { if (lastIndex === row.$index) { /*if (lastIndex === row.$index) { setSelectList(); CrudRef.clearSelection(); } else { setSelectList(); CrudRef.clearSelection(); CrudRef.toggleRowSelection(row); } }*/ CrudRef.toggleRowSelection(row); setLastIndex(row.$index); } @@ -90,7 +90,11 @@ */ static isEmptyObject(obj) { return Object.keys(obj).length === 0; if(obj){ return Object.keys(obj).length === 0; }else { return true; } } /**