projects
/
Pman.Builder
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b95d7c5
)
Pman.Dialog.BuilderProp.js
author
Alan Knowles
<alan@akbkhome.com>
Fri, 31 Dec 2010 09:48:35 +0000
(17:48 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Fri, 31 Dec 2010 09:48:35 +0000
(17:48 +0800)
Pman.Dialog.BuilderProp.js
patch
|
blob
|
history
diff --git
a/Pman.Dialog.BuilderProp.js
b/Pman.Dialog.BuilderProp.js
index
dbef75c
..
cbc3582
100644
(file)
--- a/
Pman.Dialog.BuilderProp.js
+++ b/
Pman.Dialog.BuilderProp.js
@@
-329,10
+329,14
@@
Pman.Dialog.BuilderProp = {
click : function (_self, e)
{
// do some checks?
-
+ var sel = _this.grid.getSelectionModel().getSelected();
+ if (!sel) {
+ Roo.MessageBox.alert("Error", "Select a property");
+ }
- _this.dialog.el.mask("Saving");
- _this.form.doAction("submit");
+ _this.callback(sel.data.name);
+ _this.dialog.hide();
+
}
},