Browse Source

daily code check in

TonyKang 8 years ago
parent
commit
2fcf6141d5

+ 1 - 1
web/maintain/ration_repository/js/ration.js

@@ -56,7 +56,7 @@ var rationOprObj = {
                 rationGLJOprObj.getGljItems(cacheSection[args.row]);
             }
         }
-        //me.workBook.focus(true);
+        me.workBook.focus(true);
     },
     getCache: function() {
         var me = this, rst = me.currentRations["_SEC_ID_" + me.currentSectionId];

+ 1 - 1
web/maintain/ration_repository/js/sheet_common.js

@@ -37,7 +37,7 @@ var sheetCommonObj = {
         sheet.suspendEvent();
         sheet.clear(-1, 0, -1, setting.header.length, GC.Spread.Sheets.SheetArea.viewport, GC.Spread.Sheets.StorageType.data);
         if (rowCount > 0) sheet.setRowCount(rowCount);
-        //sheet.clearSelection();
+        sheet.clearSelection();
         sheet.resumeEvent();
         sheet.resumePaint();
     },