projects
/
Pman.Core
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Pman.Dialog.CoreCompanies.bjs
[Pman.Core]
/
Pman.Dialog.CoreCompanies.js
diff --git
a/Pman.Dialog.CoreCompanies.js
b/Pman.Dialog.CoreCompanies.js
index
949437f
..
9ceef5e
100644
(file)
--- a/
Pman.Dialog.CoreCompanies.js
+++ b/
Pman.Dialog.CoreCompanies.js
@@
-118,7
+118,18
@@
Pman.Dialog.CoreCompanies = {
_this.form.doAction("submit");
},
failure : function(res) {
_this.form.doAction("submit");
},
failure : function(res) {
- Roo.log(res);
+ Roo.MessageBox.confirm(
+ "Confirm",
+ "The company name has been used. Save it anyway?",
+ function(res) {
+ if(res != 'yes') {
+ return;
+ }
+
+ _this.dialog.el.mask("Saving");
+ _this.form.doAction("submit");
+ }
+ );
}
});
}
});