Pman.Tab.AdminEnum.bjs
[Pman.Admin] / Pman.Tab.AdminEnum.js
index 26b65b0..f448af6 100644 (file)
@@ -647,9 +647,10 @@ Pman.Tab.AdminEnum = new Roo.XComponent({
           listeners : {
            click : function()
             {
-                var s = _this.grid.selModel.selection.record.id;
+                console.log(_this.grid);
+                var s = _this.grid.getSelectionModel().getSelections();
                 
-                if (s.length * 1 < 1)  {
+                if (!s.length)  {
                     Roo.MessageBox.alert("Error", "Select a Row");
                     return;
                 }