Pman.Tab.AdminCompanies.bjs
[Pman.Admin] / Pman.Tab.AdminCompanies.js
index d8b9bf2..d33bf38 100644 (file)
@@ -184,14 +184,16 @@ Pman.Tab.AdminCompanies = new Roo.XComponent({
            click : function()
             {
                 var s = _this.grid.getSelectionModel().getSelections();
+                
                 if (!s.length || (s.length > 1))  {
                     Roo.MessageBox.alert("Error", s.length ? "Select only one Row" : "Select a Row");
                     return;
                 }
-                if (!_this.dialog) {
-                    return;
-                }
-                _this.dialog.show(s[0].data, function() {
+                
+                Roo.log(s);
+                return;
+                
+                Pman.Dialog.AdminCompanyMerge.show(s[0].data, function() {
                     _this.grid.footer.onClick('first');
                 });