hy 7 жил өмнө
parent
commit
3573eb0711

+ 1 - 1
frontend/saas-web/app/view/core/dbfind/DbfindGridPanel.js

@@ -120,7 +120,7 @@ Ext.define('saas.view.core.dbfind.DbfindGridPanel', {
                         }
                         }
                     }
                     }
                 }
                 }
-                me.aftertrigger(me);
+                me.ownerCt.trigger.aftertrigger(me.ownerCt.trigger);
             }
             }
             me.ownerCt.close();
             me.ownerCt.close();
         }
         }

+ 0 - 16
frontend/saas-web/app/view/sys/power/GroupGrid.js

@@ -143,20 +143,4 @@ Ext.define('saas.view.sys.power.GroupGrid', {
         data.others = others
         data.others = others
         record.set(data);
         record.set(data);
     }
     }
-}, function(WidgetGrid) {
-    /*var prototype = WidgetGrid.prototype,
-     columns = prototype.columns,
-     len = columns.length,
-     i,
-     tbar = prototype.tbar = [];
-
-     // Create tbar on the prototype with a button for each column
-     for (i = 0; i < len; i++) {
-     tbar.push({
-     text: columns[i].text,
-     enableToggle: true,
-     pressed: true,
-     toggleHandler: 'onButtonToggle'
-     });
-     }*/
 });
 });