sync
[Pman.Admin] / Pman.Tab.AdminEnum.js
index 3628f0e..314c952 100644 (file)
@@ -534,8 +534,8 @@ Pman.Tab.AdminEnum = new Roo.XComponent({
                     return;
                 }
                 
-                Roo.log(ds.data.id);
-                Pman.Dialog.Image.show({onid:ds.data.id}, function(){
+                Roo.log(ds);
+                Pman.Dialog.AdminEnumImages.show({onid:ds.data.id}, function(){
                     _this.grid.footer.onClick('first');
                 });
                 
@@ -647,15 +647,16 @@ Pman.Tab.AdminEnum = new Roo.XComponent({
           listeners : {
            click : function()
             {
+            
                 var s = _this.grid.getSelectionModel().getSelectedCell();
-                
+            
                 if (!s.length)  {
                     Roo.MessageBox.alert("Error", "Select a Row");
                     return;
                 }
                 
                 var d = _this.grid.ds.getAt(s[0]);
-            
+                console.log(Pman.Dialog);
                 Pman.Dialog.AdminEnumMerge.show(d.data, function() {
                     _this.grid.footer.onClick('refresh');
                 }); 
@@ -722,7 +723,7 @@ Pman.Tab.AdminEnum = new Roo.XComponent({
         proxy : {
          xtype : 'HttpProxy',
          method : 'GET',
-         url : baseURL + '/Roo/Images.php',
+         url : baseURL + '/Roo/core_enum.php',
          xns : Roo.data,
          '|xns' : 'Roo.data'
         },