X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=blobdiff_plain;f=Pman.Dialog.CoreEmail.bjs;h=3dd0bd6c9278b548a5b924b2de322bfab5df9bf7;hp=dd578000264c4e4e3e5cd1aeb15c7d8db6fee446;hb=8cd2a9237c684aa16bc21e3ac6d3793c49c65400;hpb=344fe282498ca26d09d7bfe45f2d588d712fa6c4 diff --git a/Pman.Dialog.CoreEmail.bjs b/Pman.Dialog.CoreEmail.bjs index dd578000..3dd0bd6c 100644 --- a/Pman.Dialog.CoreEmail.bjs +++ b/Pman.Dialog.CoreEmail.bjs @@ -62,14 +62,14 @@ "items" : [ { "xtype" : "LayoutRegion", - "$ xns" : "Roo", "tabPosition" : "top", + "$ xns" : "Roo", "* prop" : "center" }, { "hidden" : true, - "xtype" : "LayoutRegion", "title" : "Images / Attachments", + "xtype" : "LayoutRegion", "width" : 500, "$ xns" : "Roo", "split" : true, @@ -78,8 +78,8 @@ }, { "autoScroll" : false, - "region" : "center", "fitToFrame" : true, + "region" : "center", "xtype" : "NestedLayoutPanel", "fitContainer" : true, "$ xns" : "Roo", @@ -180,8 +180,8 @@ "items" : [ { "$ url" : "baseURL + '/Core/MailTemplateList.php'", - "method" : "GET", "xtype" : "HttpProxy", + "method" : "GET", "$ xns" : "Roo.data", "* prop" : "proxy" }, @@ -229,8 +229,8 @@ "render" : "function (_self, width, height)\n{\n \n Roo.log(\"RESIZE, \" + width + ',' + height);\n \n var ew = Math.max(250, width-50);\n var eh = Math.max(250,height-50) ;\n \n \n\n}" }, "autoScroll" : false, - "fitToFrame" : true, "background" : false, + "fitToFrame" : true, "region" : "center", "title" : "Message", "xtype" : "ContentPanel", @@ -313,7 +313,7 @@ "pageSize" : 25, "displayField" : "name", "emptyText" : "Select BCC Group", - "hiddenName" : "bcc_group", + "hiddenName" : "bcc_group_id", "minChars" : 2, "valueField" : "id", "xtype" : "ComboBox", @@ -322,7 +322,7 @@ "editable" : false, "width" : 300, "$ xns" : "Roo.form", - "name" : "bcc_group_name", + "name" : "bcc_group_id_name", "qtip" : "Select BCC Group", "tpl" : "
{name}
", "loadingText" : "Searching...", @@ -340,8 +340,8 @@ "items" : [ { "$ url" : "baseURL + '/Roo/Core_group'", - "xtype" : "HttpProxy", "method" : "GET", + "xtype" : "HttpProxy", "$ xns" : "Roo.data", "* prop" : "proxy" }, @@ -375,8 +375,8 @@ "items" : [ { "hideLabels" : true, - "legend" : "Html Editor", "style" : "text-align:center;", + "legend" : "Html Editor", "xtype" : "FieldSet", "$ xns" : "Roo.form", "items" : [ @@ -443,8 +443,8 @@ "items" : [ { "$ url" : "baseURL + '/Roo/Images.php'", - "xtype" : "HttpProxy", "method" : "GET", + "xtype" : "HttpProxy", "$ xns" : "Roo.data", "* prop" : "proxy" }, @@ -541,8 +541,8 @@ "items" : [ { "hideLabels" : true, - "legend" : "Plain Text", "style" : "text-align:center;", + "legend" : "Plain Text", "xtype" : "FieldSet", "$ xns" : "Roo.form", "items" : [ @@ -589,8 +589,8 @@ "|activate" : "function() {\n _this.ipanel = this;\n if (_this.igrid) {\n _this.igrid.ds.load({});\n }\n}" }, "autoScroll" : false, - "fitToframe" : true, "background" : false, + "fitToframe" : true, "region" : "east", "title" : "Images / Attachments", "xtype" : "GridPanel", @@ -620,8 +620,8 @@ "items" : [ { "$ url" : "baseURL + '/Roo/Images.php'", - "xtype" : "HttpProxy", "method" : "GET", + "xtype" : "HttpProxy", "$ xns" : "Roo.data", "* prop" : "proxy" }, @@ -665,8 +665,8 @@ }, { "xtype" : "ColumnModel", - "width" : 300, "header" : "Filename", + "width" : 300, "$ renderer" : "function(v,x,r)\n{\n var width = r.data.width;\n var height = r.data.height;\n \n if(width > 50){\n height = Math.round(height * 50 / width);\n width = 50;\n }\n \n return '';\n}", "$ xns" : "Roo.grid", "* prop" : "colModel[]", @@ -674,8 +674,8 @@ }, { "xtype" : "ColumnModel", - "header" : "Displayorder", "width" : 75, + "header" : "Displayorder", "$ renderer" : "function(v) { return String.format('{0}', v); }", "$ xns" : "Roo.grid", "* prop" : "colModel[]", @@ -683,8 +683,8 @@ }, { "xtype" : "ColumnModel", - "width" : 75, "header" : "Title", + "width" : 75, "$ renderer" : "function(v) { return String.format('{0}', v); }", "$ xns" : "Roo.grid", "* prop" : "colModel[]",