Pman.Dialog.CoreEmail.bjs
authorleon <leon@roojs.com>
Tue, 22 Mar 2022 03:45:25 +0000 (11:45 +0800)
committerleon <leon@roojs.com>
Tue, 22 Mar 2022 03:45:25 +0000 (11:45 +0800)
Pman.Dialog.CoreEmail.js

Pman.Dialog.CoreEmail.bjs
Pman.Dialog.CoreEmail.js

index 277371a..bde0c1f 100644 (file)
              ]
             },
             {
-             "fieldLabel" : "Subject",
-             "xtype" : "TextField",
-             "allowBlank" : false,
-             "width" : 600,
-             "$ xns" : "Roo.form",
-             "name" : "subject"
-            },
-            {
-             "listWidth" : 200,
-             "triggerAction" : "all",
-             "fieldLabel" : "Language",
-             "displayField" : "title",
-             "hiddenName" : "language",
-             "valueField" : "code",
-             "xtype" : "ComboBox",
-             "allowBlank" : false,
-             "editable" : false,
-             "width" : 200,
+             "xtype" : "Row",
              "$ xns" : "Roo.form",
-             "mode" : "local",
-             "name" : "language_name",
-             "tpl" : "<div class=\"x-grid-cell-text x-btn button\"><b>{title}</b> </div>",
              "items" : [
               {
-               "| data" : "(function() {return typeof(Pman) == 'object'  ? Pman.I18n.simpleStoreData('l') : []})()",
-               "xtype" : "SimpleStore",
-               "$ fields" : "['code', 'title']",
-               "$ xns" : "Roo.data",
-               "* prop" : "store"
+               "fieldLabel" : "Subject",
+               "xtype" : "TextField",
+               "allowBlank" : false,
+               "width" : 600,
+               "$ xns" : "Roo.form",
+               "name" : "subject"
+              },
+              {
+               "listWidth" : 200,
+               "triggerAction" : "all",
+               "fieldLabel" : "Language",
+               "displayField" : "title",
+               "hiddenName" : "language",
+               "valueField" : "code",
+               "xtype" : "ComboBox",
+               "allowBlank" : false,
+               "editable" : false,
+               "width" : 200,
+               "$ xns" : "Roo.form",
+               "mode" : "local",
+               "name" : "language_name",
+               "tpl" : "<div class=\"x-grid-cell-text x-btn button\"><b>{title}</b> </div>",
+               "items" : [
+                {
+                 "| data" : "(function() {return typeof(Pman) == 'object'  ? Pman.I18n.simpleStoreData('l') : []})()",
+                 "xtype" : "SimpleStore",
+                 "$ fields" : "['code', 'title']",
+                 "$ xns" : "Roo.data",
+                 "* prop" : "store"
+                }
+               ]
               }
              ]
             },
index a534745..7d2e709 100644 (file)
@@ -760,37 +760,44 @@ Pman.Dialog.CoreEmail = {
              ]
             },
             {
-             xtype : 'TextField',
-             allowBlank : false,
-             fieldLabel : _this._strings['c7892ebbb139886662c6f2fc8c450710'] /* Subject */,
-             name : 'subject',
-             width : 600,
-             xns : Roo.form,
-             '|xns' : 'Roo.form'
-            },
-            {
-             xtype : 'ComboBox',
-             allowBlank : false,
-             displayField : 'title',
-             editable : false,
-             fieldLabel : _this._strings['4994a8ffeba4ac3140beb89e8d41f174'] /* Language */,
-             hiddenName : 'language',
-             listWidth : 200,
-             mode : 'local',
-             name : 'language_name',
-             tpl : '<div class=\"x-grid-cell-text x-btn button\"><b>{title}</b> </div>',
-             triggerAction : 'all',
-             valueField : 'code',
-             width : 200,
+             xtype : 'Row',
              xns : Roo.form,
              '|xns' : 'Roo.form',
-             store : {
-              xtype : 'SimpleStore',
-              data : (function() {return typeof(Pman) == 'object'  ? Pman.I18n.simpleStoreData('l') : []})(),
-              fields : ['code', 'title'],
-              xns : Roo.data,
-              '|xns' : 'Roo.data'
-             }
+             items  : [
+              {
+               xtype : 'TextField',
+               allowBlank : false,
+               fieldLabel : _this._strings['c7892ebbb139886662c6f2fc8c450710'] /* Subject */,
+               name : 'subject',
+               width : 600,
+               xns : Roo.form,
+               '|xns' : 'Roo.form'
+              },
+              {
+               xtype : 'ComboBox',
+               allowBlank : false,
+               displayField : 'title',
+               editable : false,
+               fieldLabel : _this._strings['4994a8ffeba4ac3140beb89e8d41f174'] /* Language */,
+               hiddenName : 'language',
+               listWidth : 200,
+               mode : 'local',
+               name : 'language_name',
+               tpl : '<div class=\"x-grid-cell-text x-btn button\"><b>{title}</b> </div>',
+               triggerAction : 'all',
+               valueField : 'code',
+               width : 200,
+               xns : Roo.form,
+               '|xns' : 'Roo.form',
+               store : {
+                xtype : 'SimpleStore',
+                data : (function() {return typeof(Pman) == 'object'  ? Pman.I18n.simpleStoreData('l') : []})(),
+                fields : ['code', 'title'],
+                xns : Roo.data,
+                '|xns' : 'Roo.data'
+               }
+              }
+             ]
             },
             {
              xtype : 'Row',