projects
/
Pman.MTrack
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a5f2ed
)
Pman.Dialog.MTrackMilestone.js
author
Alan
<alan@wideboyHD>
Wed, 20 Jul 2011 23:36:33 +0000
(07:36 +0800)
committer
Alan
<alan@wideboyHD>
Wed, 20 Jul 2011 23:36:33 +0000
(07:36 +0800)
Pman.Dialog.MTrackMilestone.js
patch
|
blob
|
history
diff --git
a/Pman.Dialog.MTrackMilestone.js
b/Pman.Dialog.MTrackMilestone.js
index
cab3d86
..
4be4a96
100644
(file)
--- a/
Pman.Dialog.MTrackMilestone.js
+++ b/
Pman.Dialog.MTrackMilestone.js
@@
-190,6
+190,16
@@
Pman.Dialog.MTrackMilestone = {
beforeload : function (_self, o){
o.params = o.params || {};
// set more here
+ var pid = _this.form.findField('project_id').getValue() * 1;
+ if (!pid) {
+ Roo.MessageBox.alert("Error","Select Project");
+ return false;
+ }
+ o.params.project_id = pid;
+ },
+ beforeload : function (_self, options)
+ {
+
}
},
remoteSort : true,