projects
/
Pman.Core
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix #5773 - Product edit changes
[Pman.Core]
/
Pman.Dialog.CoreEnumMerge.js
diff --git
a/Pman.Dialog.CoreEnumMerge.js
b/Pman.Dialog.CoreEnumMerge.js
index
c9f14e5
..
3e8d841
100644
(file)
--- a/
Pman.Dialog.CoreEnumMerge.js
+++ b/
Pman.Dialog.CoreEnumMerge.js
@@
-131,12
+131,11
@@
Pman.Dialog.CoreEnumMerge = {
_this.dialog.setTitle("Delete selected " + title + " and merge data with");
_this.dialog.setTitle("Delete selected " + title + " and merge data with");
- if(
_this.data._ids != "
"){
+ if(
typeof(_this.data._ids) == "undefined
"){
this.load({ method: 'GET', params: { '_id' : _this.data.id }});
this.load({ method: 'GET', params: { '_id' : _this.data.id }});
- _this.form.findField('id').setValue(_this.data.id);
return;
}
return;
}
- _this.form.findField('_names').setValue(_this.data.
materialList
);
+ _this.form.findField('_names').setValue(_this.data.
_names
);
_this.form.findField('_ids').setValue(_this.data._ids);
return;
}
_this.form.findField('_ids').setValue(_this.data._ids);
return;
}