Pman.Tab.AdminEnums.bjs
authorChris <chris@roojs.com>
Wed, 10 Jul 2013 11:26:25 +0000 (19:26 +0800)
committerChris <chris@roojs.com>
Wed, 10 Jul 2013 11:26:25 +0000 (19:26 +0800)
Pman.Tab.AdminEnums.js

Pman.Tab.AdminEnums.bjs
Pman.Tab.AdminEnums.js

index d841c64..c7fc0d4 100644 (file)
@@ -23,7 +23,7 @@
                         "|render": "function() \n{\n    _this.grid = this; \n    //_this.dialog = Pman.Dialog.FILL_IN\n    if (_this.panel.active) {\n       this.footer.onClick('first');\n    }\n}",
                         "afteredit": "function (e)\n{\n   e.record.commit();     \n}",
                         "cellclick": "function (_self, rowIndex, columnIndex, e)\n{\n\n        var di = this.colModel.getDataIndex(columnIndex);\n        if (di != 'active') {\n            return;\n        }\n         \n        var rec = _this.grid.ds.getAt(rowIndex);\n        \n        rec.set('active', rec.data.active ? 0 : 1);\n        rec.commit();\n         \n        \n}",
-                        "beforeedit": "function (e)\n{\n    Roo.log(e);\n    if(e.field == 'name' && e.record.data.is_system_enum*1 == 1){\n        return false;\n    }\n}"
+                        "beforeedit": "function (e)\n{\n    if(e.field == 'name' && e.record.data.is_system_enum*1 == 1){\n        return false;\n    }\n}"
                     },
                     "*prop": "grid",
                     "autoExpandColumn": "display_name",
index a48cc9c..a9829e5 100644 (file)
@@ -64,7 +64,6 @@ Pman.Tab.AdminEnums = new Roo.XComponent({
                     },
                     beforeedit : function (e)
                     {
-                        Roo.log(e);
                         if(e.field == 'name' && e.record.data.is_system_enum*1 == 1){
                             return false;
                         }