modify company dialog
[Pman.Core] / Pman.Dialog.CoreEmail.js
index abd1e2d..72d77d9 100644 (file)
@@ -29,6 +29,7 @@ Pman.Dialog.CoreEmail = {
   'dc0de523c25be298ba751c63c694109e' :"Responsive Email (1)",
   '396ecabf0cd1f9503e591418851ef406' :"Edit / Create Message",
   'b9c49611cfda3259a2b837b39489e650' :"Add Image",
+  'cafbb1cfc96d63acd85e7de928e1636b' :"To Group <BR/> (for system reference only)",
   'ea4788705e6873b424c65e91c2846b19' :"Cancel",
   '68b00d723d37122f64da8d9939f836f0' :"BCC Group",
   'c4ca4238a0b923820dcc509a6f75849b' :"1",
@@ -40,8 +41,8 @@ Pman.Dialog.CoreEmail = {
   '31bb2f6e9b8fb11cbb7fb63c6025223f' :"Select Template",
   'b78a3223503896721cca1303f776159b' :"Title",
   '278c491bdd8a53618c149c4ac790da34' :"Template",
-  '1351017ac6423911223bc19a8cb7c653' :"Filename",
   '308f2757bfc9ce92fb00ff93fdffd279' :"Images / Attachments",
+  '1351017ac6423911223bc19a8cb7c653' :"Filename",
   'c9cc8cce247e49bae79f15173ce97354' :"Save",
   '5feb9bf3c03b32635135006cbacb9542' :"Insert Field",
   '4c2a8fe7eaf24721cc7a9f0175115bd4' :"Message",
@@ -49,6 +50,7 @@ Pman.Dialog.CoreEmail = {
  },
  _named_strings : {
   'active_boxLabel' : '28690be026c0bb9003aa58e45e5662ca' /* Enabled - will be sent out */ ,
+  'to_group_id_name_fieldLabel' : 'cafbb1cfc96d63acd85e7de928e1636b' /* To Group <BR/> (for system reference only) */ ,
   'template_fieldLabel' : '278c491bdd8a53618c149c4ac790da34' /* Template */ ,
   'name_fieldLabel' : 'b20a8b77b05d53b4e695738731400c85' /* Mailout Name */ ,
   'bcc_group_id_name_qtip' : '2c466a2c159463f1d9ef5a7b57b52827' /* Select BCC Group */ ,
@@ -76,7 +78,7 @@ Pman.Dialog.CoreEmail = {
 
   this.callback = cb;
   this.data = data;
-  this.dialog.show.apply(this.dialog,  Array.prototype.slice.call(arguments).slice(2));
+  this.dialog.show(this.data._el);
   if (this.form) {
    this.form.reset();
    this.form.setValues(data);
@@ -782,6 +784,7 @@ Pman.Dialog.CoreEmail = {
                 {
                  xtype : 'HtmlEditor',
                  allowComments : true,
+                 autoClean : false,
                  autosave : function() {
                      
                      var body = _this.form.findField('bodytext');
@@ -801,8 +804,17 @@ Pman.Dialog.CoreEmail = {
                      'background',
                      'background-color',
                      'border',
+                     'border-radius',
                      'border-bottom',
+                     'border-left',
+                     'border-right',
+                     'border-top',
                      'border-collapse',
+                      'border-color',
+                      'border-style',
+                     'border-width',
+                 
+                     
                      'box-shadow',
                      'clear',
                      'color',
@@ -811,7 +823,9 @@ Pman.Dialog.CoreEmail = {
                      'float' ,
                      'font-family',
                      'font-size',
+                     'font-style',        
                      'font-weight',
+                 
                      'height',
                      'left',
                      'line-height',
@@ -844,6 +858,7 @@ Pman.Dialog.CoreEmail = {
                      'width',
                      'z-index'
                   ],
+                 enableBlocks : false,
                  height : 250,
                  name : 'bodytext',
                  resizable : 's',
@@ -1192,6 +1207,23 @@ Pman.Dialog.CoreEmail = {
               }
              ]
             },
+            {
+             xtype : 'Row',
+             xns : Roo.form,
+             '|xns' : 'Roo.form',
+             items  : [
+              {
+               xtype : 'TextField',
+               allowBlank : true,
+               fieldLabel : _this._strings['cafbb1cfc96d63acd85e7de928e1636b'] /* To Group <BR/> (for system reference only) */,
+               name : 'to_group_id_name',
+               readOnly : true,
+               width : 300,
+               xns : Roo.form,
+               '|xns' : 'Roo.form'
+              }
+             ]
+            },
             {
              xtype : 'Hidden',
              name : 'id',