projects
/
Pman.MTrack
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd484a9
)
Pman.Dialog.MTrackMilestone.js
author
Alan Knowles
<alan@akbkhome.com>
Tue, 19 Jul 2011 04:48:16 +0000
(12:48 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Tue, 19 Jul 2011 04:48:16 +0000
(12:48 +0800)
Pman.Dialog.MTrackMilestone.js
patch
|
blob
|
history
diff --git
a/Pman.Dialog.MTrackMilestone.js
b/Pman.Dialog.MTrackMilestone.js
index
0b92826
..
88e125d
100644
(file)
--- a/
Pman.Dialog.MTrackMilestone.js
+++ b/
Pman.Dialog.MTrackMilestone.js
@@
-49,17
+49,19
@@
Pman.Dialog.MTrackMilestone = {
actioncomplete : function(_self,action)
{
if (action.type == 'setdata') {
- //_this.dialog.el.mask("Loading");
- //this.load({ method: 'GET', params: { '_id' : _this.data.id }});
+ if (_this.data.id) {
+
+ this.load({ method: 'GET', params: { '_id' : _this.data.id }});
+ }
return;
}
if (action.type == 'load') {
- _this.dialog.el.unmask();
+
return;
}
if (action.type =='submit') {
- _this.dialog.el.unmask();
+
_this.dialog.hide();
if (_this.callback) {