php warnings
[Pman.MTrack] / Pman.Dialog.MTrackRepos.js
index 7483d32..5b7ff04 100644 (file)
@@ -84,6 +84,7 @@ Pman.Dialog.MTrackRepos = {
                                     xtype: 'ComboBox',
                                     xns: Roo.form,
                                     allowBlank : false,
+                                    alwaysQuery : true,
                                     displayField : 'name',
                                     editable : false,
                                     emptyText : "Select Project",
@@ -98,7 +99,7 @@ Pman.Dialog.MTrackRepos = {
                                     qtip : "Select Projects",
                                     queryParam : 'query[name]',
                                     selectOnFocus : true,
-                                    tpl : '<div class="x-grid-cell-text x-btn button"><b>{code}</b>{name} </div>',
+                                    tpl : '<div class="x-grid-cell-text x-btn button"><b>{code}</b> {name} </div>',
                                     triggerAction : 'all',
                                     typeAhead : true,
                                     valueField : 'id',
@@ -118,7 +119,7 @@ Pman.Dialog.MTrackRepos = {
                                             xtype: 'HttpProxy',
                                             xns: Roo.data,
                                             method : 'GET',
-                                            url : baseURL + '/Roo/Projects.php'
+                                            url : baseURL + '/Roo/core_project'
                                         },
                                         reader : {
                                             xtype: 'JsonReader',
@@ -180,20 +181,6 @@ Pman.Dialog.MTrackRepos = {
                                     name : 'serverurl',
                                     width : 200
                                 },
-                                {
-                                    xtype: 'TextField',
-                                    xns: Roo.form,
-                                    fieldLabel : 'Parent',
-                                    name : 'parent',
-                                    width : 200
-                                },
-                                {
-                                    xtype: 'TextField',
-                                    xns: Roo.form,
-                                    fieldLabel : 'Clonedfrom',
-                                    name : 'clonedfrom',
-                                    width : 75
-                                },
                                 {
                                     xtype: 'Hidden',
                                     xns: Roo.form,