Fix #5640 - prevent multiple no milestone being created
[Pman.MTrack] / Pman.Dialog.MTrackMilestone.js
index 8e2f651..562ada4 100644 (file)
@@ -108,7 +108,6 @@ Pman.Dialog.MTrackMilestone = {
                                     selectOnFocus : true,
                                     tpl : '<div class="x-grid-cell-text x-btn button"><b>{code}</b> {name}</div>',
                                     triggerAction : 'all',
-                                    typeAhead : true,
                                     valueField : 'id',
                                     width : 200,
                                     store : {
@@ -174,9 +173,13 @@ Pman.Dialog.MTrackMilestone = {
                                     width : 100
                                 },
                                 {
-                                    xtype: 'Hidden',
+                                    xtype: 'Checkbox',
                                     xns: Roo.form,
-                                    name : 'project_id'
+                                    boxLabel : 'On hold',
+                                    fieldLabel : 'Status',
+                                    inputValue : 1,
+                                    name : 'on_hold',
+                                    valueOff : 0
                                 },
                                 {
                                     xtype: 'Hidden',