'1243daf593fa297e07ab03bf06d925af' :"Searching...",
'68be4837f6c739877233e527a996dd00' :"Merge",
'1243daf593fa297e07ab03bf06d925af' :"Searching...",
'68be4837f6c739877233e527a996dd00' :"Merge",
'ea4788705e6873b424c65e91c2846b19' :"Cancel"
},
_named_strings : {
'_merge_id_name_emptyText' : 'bf8691517ce00a09186a05cd65863091' /* Select Item to Merge With */ ,
'_merge_id_name_loadingText' : '1243daf593fa297e07ab03bf06d925af' /* Searching... */ ,
'_merge_id_name_qtip' : 'bf8691517ce00a09186a05cd65863091' /* Select Item to Merge With */ ,
'ea4788705e6873b424c65e91c2846b19' :"Cancel"
},
_named_strings : {
'_merge_id_name_emptyText' : 'bf8691517ce00a09186a05cd65863091' /* Select Item to Merge With */ ,
'_merge_id_name_loadingText' : '1243daf593fa297e07ab03bf06d925af' /* Searching... */ ,
'_merge_id_name_qtip' : 'bf8691517ce00a09186a05cd65863091' /* Select Item to Merge With */ ,
var title = _this.data.title || _this.data.etype;
_this.dialog.setTitle("Delete selected " + title + " and merge data with");
var title = _this.data.title || _this.data.etype;
_this.dialog.setTitle("Delete selected " + title + " and merge data with");
+
+
+ if(typeof(_this.data._ids) == "undefined"){
+ this.load({ method: 'GET', params: { '_id' : _this.data.id }});
+ return;
+ }
+ _this.form.findField('_names').setValue(_this.data._names);
+ _this.form.findField('_ids').setValue(_this.data._ids);
+ return;
- o.params['!id'] = _this.form.findField('id').getValue();
+ var ids = _this.form.findField('_ids').getValue();
+ if (ids.length) {
+ var xids = ids.split(',');
+ for(var i =0;i < xids.length; i++) {
+ o.params['!id[' + i + ']'] = xids[i];
+ }
+ } else {
+ o.params['!id'] = _this.form.findField('id').getValue();
+ }