|
@@ -79,8 +79,8 @@ var rationGLJOprObj = {
|
|
var me = this;
|
|
var me = this;
|
|
me.sheet = sheet;
|
|
me.sheet = sheet;
|
|
me.getGljDistType(function () {
|
|
me.getGljDistType(function () {
|
|
- gljSelOprObj.getGljClassTree(pageOprObj.gljLibId, function () {
|
|
|
|
- gljSelOprObj.getSelGljItems(pageOprObj.gljLibId, function () {
|
|
|
|
|
|
+ // gljSelOprObj.getGljClassTree(pageOprObj.gljLibId, function () {
|
|
|
|
+ //gljSelOprObj.getSelGljItems(pageOprObj.gljLibId, function () {
|
|
sheetCommonObj.initSheet(me.sheet, me.setting, 30);
|
|
sheetCommonObj.initSheet(me.sheet, me.setting, 30);
|
|
me.onContextmenuOpr();
|
|
me.onContextmenuOpr();
|
|
me.bindRationGljDelOpr();
|
|
me.bindRationGljDelOpr();
|
|
@@ -88,8 +88,8 @@ var rationGLJOprObj = {
|
|
me.sheet.bind(GC.Spread.Sheets.Events.ClipboardPasted, me.onClipboardPasted);
|
|
me.sheet.bind(GC.Spread.Sheets.Events.ClipboardPasted, me.onClipboardPasted);
|
|
me.sheet.bind(GC.Spread.Sheets.Events.EditStarting, me.onEditStarting);
|
|
me.sheet.bind(GC.Spread.Sheets.Events.EditStarting, me.onEditStarting);
|
|
me.sheet.bind(GC.Spread.Sheets.Events.EditEnded, me.onCellEditEnd);
|
|
me.sheet.bind(GC.Spread.Sheets.Events.EditEnded, me.onCellEditEnd);
|
|
- });
|
|
|
|
- });
|
|
|
|
|
|
+ // });
|
|
|
|
+ //});
|
|
});
|
|
});
|
|
},
|
|
},
|
|
bindRationGljDelOpr: function () {
|
|
bindRationGljDelOpr: function () {
|
|
@@ -600,7 +600,7 @@ var rationGLJOprObj = {
|
|
return rst;
|
|
return rst;
|
|
},
|
|
},
|
|
getGljItems: function(rationItem, callback) {
|
|
getGljItems: function(rationItem, callback) {
|
|
- var me = this, rationID = rationItem.ID, rationGljList = rationItem.rationGljList;
|
|
|
|
|
|
+ var me = this, rationID = rationItem.ID, rationGljList = rationItem.rationGljList ? rationItem.rationGljList : [];
|
|
me.currentRationItem = rationItem;
|
|
me.currentRationItem = rationItem;
|
|
if (me.cache["_GLJ_" + rationID]) {
|
|
if (me.cache["_GLJ_" + rationID]) {
|
|
me.showGljItems(rationID);
|
|
me.showGljItems(rationID);
|