Pman.Gnumeric.js
[Pman.Core] / Pman.Dialog.CoreEnumMerge.js
index b33a44d..3e8d841 100644 (file)
@@ -131,13 +131,10 @@ Pman.Dialog.CoreEnumMerge = {
                   _this.dialog.setTitle("Delete selected " + title + " and merge data with");
                   
           
-                  if(_this.data._ids == ""){
-                      console.log("fuk");
+                  if(typeof(_this.data._ids) == "undefined"){
                       this.load({ method: 'GET', params: { '_id' : _this.data.id }});  
-                      _this.form.findField('id').setValue(_this.data.id);
                       return;
                   }
-                  console.log("fuk2");
                   _this.form.findField('_names').setValue(_this.data._names);
                   _this.form.findField('_ids').setValue(_this.data._ids);
                   return;