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

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

index 7ee83ca..7d95d22 100644 (file)
                 }
                ]
               },
+              {
+               "xtype" : "Column",
+               "$ xns" : "Roo.form",
+               "items" : [
+                {
+                 "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"
+                  }
+                 ]
+                }
+               ]
+              },
               {
                "listWidth" : 200,
                "triggerAction" : "all",
index d93dc63..1fd5970 100644 (file)
@@ -677,6 +677,37 @@ Pman.Dialog.CoreEmail = {
                 }
                ]
               },
+              {
+               xtype : 'Column',
+               xns : Roo.form,
+               '|xns' : 'Roo.form',
+               items  : [
+                {
+                 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 : 'ComboBox',
                allowBlank : false,