Pman.Dialog.MTrackBulkChange.bjs
authorAlan Knowles <alan@roojs.com>
Fri, 26 Oct 2018 05:35:44 +0000 (13:35 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 26 Oct 2018 05:35:44 +0000 (13:35 +0800)
Pman.Dialog.MTrackBulkChange.js

Pman.Dialog.MTrackBulkChange.bjs
Pman.Dialog.MTrackBulkChange.js

index 4765303..1709918 100644 (file)
   "9aadb017cc5b335be77ba090d5029259" : "Select status",
   "06933067aafd48425d67bcb01bba5cb6" : "Update"
  },
+ "named_strings" : {
+  "status_display_name_emptyText" : "ec53a8c4f07baed5d8825072c89799be",
+  "developer_id_name_loadingText" : "1243daf593fa297e07ab03bf06d925af",
+  "project_id_name_emptyText" : "24f27bda5dd2c488aa9bc7700ba98c34",
+  "priority_id_display_name_qtip" : "6c768695a8efb18436d5b7b4374cdb45",
+  "status_display_name_qtip" : "9aadb017cc5b335be77ba090d5029259",
+  "priority_id_display_name_emptyText" : "3cc5fe396ec583c6d9f38f80a06674a4",
+  "developer_id_name_emptyText" : "340c2ee497b85d5954b01c64de7f44f6",
+  "project_id_name_loadingText" : "1243daf593fa297e07ab03bf06d925af",
+  "priority_id_display_name_fieldLabel" : "502996d9790340c5fd7b86a5b93b1c9f",
+  "project_id_name_qtip" : "24f27bda5dd2c488aa9bc7700ba98c34",
+  "status_display_name_loadingText" : "1243daf593fa297e07ab03bf06d925af",
+  "developer_id_name_qtip" : "340c2ee497b85d5954b01c64de7f44f6",
+  "project_id_name_fieldLabel" : "9e727fdd3aec8274f46685441900280d",
+  "status_display_name_fieldLabel" : "ec53a8c4f07baed5d8825072c89799be",
+  "priority_id_display_name_loadingText" : "1243daf593fa297e07ab03bf06d925af",
+  "developer_id_name_fieldLabel" : "672caf27f5363dc833bda5099775e891"
+ },
  "items" : [
   {
    "modal" : true,
@@ -48,8 +66,8 @@
         "|rendered" : "function (form)\n{\n    _this.form= form;\n}\n"
        },
        "$ url" : "baseURL + '/Roo/mtrack_ticket.php'",
-       "xtype" : "Form",
        "method" : "POST",
+       "xtype" : "Form",
        "style" : "margin:10px;",
        "$ xns" : "Roo.form",
        "items" : [
            "items" : [
             {
              "$ url" : "baseURL + '/Roo/Projects.php'",
-             "method" : "GET",
              "xtype" : "HttpProxy",
+             "method" : "GET",
              "$ xns" : "Roo.data",
              "* prop" : "proxy"
             },
            "items" : [
             {
              "$ url" : "baseURL + '/Roo/core_enum.php'",
-             "method" : "GET",
              "xtype" : "HttpProxy",
+             "method" : "GET",
              "$ xns" : "Roo.data",
              "* prop" : "proxy"
             },
          "items" : [
           {
            "listeners" : {
-            "|beforeload" : "function (_self, o){\n    o.params = o.params || {};\n    // set more here\n    \n    o.params['query[ticket_change]'] = _this.data.ids;\n\n}\n"
+            "|beforeload" : "function (_self, o){\n    o.params = o.params || {};\n    // set more here\n    \n   // o.params['query[ticket_change]'] = _this.data.ids;\n\n}\n"
            },
            "xtype" : "Store",
            "remoteSort" : true,
            "items" : [
             {
              "$ url" : "baseURL + '/Roo/core_enum.php'",
-             "method" : "GET",
              "xtype" : "HttpProxy",
+             "method" : "GET",
              "$ xns" : "Roo.data",
              "* prop" : "proxy"
             },
            "items" : [
             {
              "$ url" : "baseURL + '/Roo/Person.php'",
-             "method" : "GET",
              "xtype" : "HttpProxy",
+             "method" : "GET",
              "$ xns" : "Roo.data",
              "* prop" : "proxy"
             },
index 48b1ba7..a81f0ab 100644 (file)
@@ -21,6 +21,24 @@ Pman.Dialog.MTrackBulkChange = {
   '9aadb017cc5b335be77ba090d5029259' :"Select status",
   '06933067aafd48425d67bcb01bba5cb6' :"Update"
  },
+ _named_strings : {
+  'status_display_name_emptyText' : 'ec53a8c4f07baed5d8825072c89799be' /* Status */ ,
+  'developer_id_name_loadingText' : '1243daf593fa297e07ab03bf06d925af' /* Searching... */ ,
+  'project_id_name_emptyText' : '24f27bda5dd2c488aa9bc7700ba98c34' /* Select Projects */ ,
+  'priority_id_display_name_qtip' : '6c768695a8efb18436d5b7b4374cdb45' /* Select core_enum */ ,
+  'status_display_name_qtip' : '9aadb017cc5b335be77ba090d5029259' /* Select status */ ,
+  'priority_id_display_name_emptyText' : '3cc5fe396ec583c6d9f38f80a06674a4' /* Select prioirty */ ,
+  'developer_id_name_emptyText' : '340c2ee497b85d5954b01c64de7f44f6' /* Select Person */ ,
+  'project_id_name_loadingText' : '1243daf593fa297e07ab03bf06d925af' /* Searching... */ ,
+  'priority_id_display_name_fieldLabel' : '502996d9790340c5fd7b86a5b93b1c9f' /* Priority */ ,
+  'project_id_name_qtip' : '24f27bda5dd2c488aa9bc7700ba98c34' /* Select Projects */ ,
+  'status_display_name_loadingText' : '1243daf593fa297e07ab03bf06d925af' /* Searching... */ ,
+  'developer_id_name_qtip' : '340c2ee497b85d5954b01c64de7f44f6' /* Select Person */ ,
+  'project_id_name_fieldLabel' : '9e727fdd3aec8274f46685441900280d' /* Project */ ,
+  'status_display_name_fieldLabel' : 'ec53a8c4f07baed5d8825072c89799be' /* Status */ ,
+  'priority_id_display_name_loadingText' : '1243daf593fa297e07ab03bf06d925af' /* Searching... */ ,
+  'developer_id_name_fieldLabel' : '672caf27f5363dc833bda5099775e891' /* Developer */ 
+ },
 
  dialog : false,
  callback:  false,
@@ -46,6 +64,7 @@ Pman.Dialog.MTrackBulkChange = {
  {
    var _this = this;
    this.dialog = Roo.factory({
+    xtype : 'LayoutDialog',
     closable : false,
     collapsible : false,
     height : 300,
@@ -55,30 +74,27 @@ Pman.Dialog.MTrackBulkChange = {
     width : 500,
     xns : Roo,
     '|xns' : 'Roo',
-    xtype : 'LayoutDialog',
     center : {
+     xtype : 'LayoutRegion',
      xns : Roo,
-     '|xns' : 'Roo',
-     xtype : 'LayoutRegion'
+     '|xns' : 'Roo'
     },
     buttons : [
      {
-      text : _this._strings['ea4788705e6873b424c65e91c2846b19'] /* Cancel */,
-      xns : Roo,
-      '|xns' : 'Roo',
       xtype : 'Button',
+      text : _this._strings['ea4788705e6873b424c65e91c2846b19'] /* Cancel */,
       listeners : {
        click : function (_self, e)
         {
             _this.dialog.hide();
         }
-      }
+      },
+      xns : Roo,
+      '|xns' : 'Roo'
      },
      {
-      text : _this._strings['06933067aafd48425d67bcb01bba5cb6'] /* Update */,
-      xns : Roo,
-      '|xns' : 'Roo',
       xtype : 'Button',
+      text : _this._strings['06933067aafd48425d67bcb01bba5cb6'] /* Update */,
       listeners : {
        click : function (_self, e)
         {
@@ -101,23 +117,23 @@ Pman.Dialog.MTrackBulkChange = {
             //_this.form.doAction("submit");
         
         }
-      }
+      },
+      xns : Roo,
+      '|xns' : 'Roo'
      }
     ],
     items  : [
      {
+      xtype : 'ContentPanel',
       region : 'center',
       xns : Roo,
       '|xns' : 'Roo',
-      xtype : 'ContentPanel',
       items  : [
        {
+        xtype : 'Form',
         method : 'POST',
         style : 'margin:10px;',
         url : baseURL + '/Roo/mtrack_ticket.php',
-        xns : Roo.form,
-        '|xns' : 'Roo.form',
-        xtype : 'Form',
         listeners : {
          actioncomplete : function(_self,action)
           {
@@ -151,8 +167,11 @@ Pman.Dialog.MTrackBulkChange = {
               _this.form= form;
           }
         },
+        xns : Roo.form,
+        '|xns' : 'Roo.form',
         items  : [
          {
+          xtype : 'ComboBox',
           allowBlank : false,
           displayField : 'name',
           editable : false,
@@ -175,38 +194,38 @@ Pman.Dialog.MTrackBulkChange = {
           width : 300,
           xns : Roo.form,
           '|xns' : 'Roo.form',
-          xtype : 'ComboBox',
           store : {
+           xtype : 'Store',
            remoteSort : true,
            sortInfo : { direction : 'ASC', field: 'name' },
-           xns : Roo.data,
-           '|xns' : 'Roo.data',
-           xtype : 'Store',
            listeners : {
             beforeload : function (_self, o){
                  o.params = o.params || {};
                  // set more here
              }
            },
+           xns : Roo.data,
+           '|xns' : 'Roo.data',
            proxy : {
+            xtype : 'HttpProxy',
             method : 'GET',
             url : baseURL + '/Roo/Projects.php',
             xns : Roo.data,
-            '|xns' : 'Roo.data',
-            xtype : 'HttpProxy'
+            '|xns' : 'Roo.data'
            },
            reader : {
+            xtype : 'JsonReader',
             fields : [{"name":"id","type":"int"},{"name":"name","type":"string"}],
             id : 'id',
             root : 'data',
             totalProperty : 'total',
             xns : Roo.data,
-            '|xns' : 'Roo.data',
-            xtype : 'JsonReader'
+            '|xns' : 'Roo.data'
            }
           }
          },
          {
+          xtype : 'ComboBox',
           allowBlank : false,
           displayField : 'display_name',
           editable : false,
@@ -229,13 +248,10 @@ Pman.Dialog.MTrackBulkChange = {
           width : 300,
           xns : Roo.form,
           '|xns' : 'Roo.form',
-          xtype : 'ComboBox',
           store : {
+           xtype : 'Store',
            remoteSort : true,
            sortInfo : { direction : 'ASC', field: 'seqid' },
-           xns : Roo.data,
-           '|xns' : 'Roo.data',
-           xtype : 'Store',
            listeners : {
             beforeload : function (_self, o){
                  o.params = o.params || {};
@@ -243,25 +259,28 @@ Pman.Dialog.MTrackBulkChange = {
                  o.params.etype = 'priority';
              }
            },
+           xns : Roo.data,
+           '|xns' : 'Roo.data',
            proxy : {
+            xtype : 'HttpProxy',
             method : 'GET',
             url : baseURL + '/Roo/core_enum.php',
             xns : Roo.data,
-            '|xns' : 'Roo.data',
-            xtype : 'HttpProxy'
+            '|xns' : 'Roo.data'
            },
            reader : {
+            xtype : 'JsonReader',
             fields : [{"name":"id","type":"int"},{"name":"etype","type":"string"}],
             id : 'id',
             root : 'data',
             totalProperty : 'total',
             xns : Roo.data,
-            '|xns' : 'Roo.data',
-            xtype : 'JsonReader'
+            '|xns' : 'Roo.data'
            }
           }
          },
          {
+          xtype : 'ComboBox',
           allowBlank : false,
           alwaysQuery : true,
           displayField : 'display_name',
@@ -285,41 +304,41 @@ Pman.Dialog.MTrackBulkChange = {
           width : 300,
           xns : Roo.form,
           '|xns' : 'Roo.form',
-          xtype : 'ComboBox',
           store : {
+           xtype : 'Store',
            remoteSort : true,
            sortInfo : { direction : 'ASC', field: 'id' },
-           xns : Roo.data,
-           '|xns' : 'Roo.data',
-           xtype : 'Store',
            listeners : {
             beforeload : function (_self, o){
                  o.params = o.params || {};
                  // set more here
                  
-                 o.params['query[ticket_change]'] = _this.data.ids;
+                // o.params['query[ticket_change]'] = _this.data.ids;
              
              }
            },
+           xns : Roo.data,
+           '|xns' : 'Roo.data',
            proxy : {
+            xtype : 'HttpProxy',
             method : 'GET',
             url : baseURL + '/Roo/core_enum.php',
             xns : Roo.data,
-            '|xns' : 'Roo.data',
-            xtype : 'HttpProxy'
+            '|xns' : 'Roo.data'
            },
            reader : {
+            xtype : 'JsonReader',
             fields : [{"name":"id","type":"int"},{"name":"etype","type":"string"}],
             id : 'id',
             root : 'data',
             totalProperty : 'total',
             xns : Roo.data,
-            '|xns' : 'Roo.data',
-            xtype : 'JsonReader'
+            '|xns' : 'Roo.data'
            }
           }
          },
          {
+          xtype : 'ComboBox',
           allowBlank : false,
           displayField : 'name',
           editable : false,
@@ -342,13 +361,10 @@ Pman.Dialog.MTrackBulkChange = {
           width : 300,
           xns : Roo.form,
           '|xns' : 'Roo.form',
-          xtype : 'ComboBox',
           store : {
+           xtype : 'Store',
            remoteSort : true,
            sortInfo : { direction : 'ASC', field: 'name' },
-           xns : Roo.data,
-           '|xns' : 'Roo.data',
-           xtype : 'Store',
            listeners : {
             beforeload : function (_self, o){
                  o.params = o.params || {};
@@ -357,21 +373,23 @@ Pman.Dialog.MTrackBulkChange = {
                  o.params['query[role]'] = 'DEVELOPER';
              }
            },
+           xns : Roo.data,
+           '|xns' : 'Roo.data',
            proxy : {
+            xtype : 'HttpProxy',
             method : 'GET',
             url : baseURL + '/Roo/Person.php',
             xns : Roo.data,
-            '|xns' : 'Roo.data',
-            xtype : 'HttpProxy'
+            '|xns' : 'Roo.data'
            },
            reader : {
+            xtype : 'JsonReader',
             fields : [{"name":"id","type":"int"},{"name":"name","type":"string"}],
             id : 'id',
             root : 'data',
             totalProperty : 'total',
             xns : Roo.data,
-            '|xns' : 'Roo.data',
-            xtype : 'JsonReader'
+            '|xns' : 'Roo.data'
            }
           }
          }