fix 'Optional parameter declared before required parameter is implicitly treated'
[Pman.Cms] / Pman.Dialog.CmsTranslateTemplates.js
index 994860b..7bdd170 100644 (file)
@@ -92,7 +92,7 @@ Pman.Dialog.CmsTranslateTemplates = {
                                         {
                                             xtype: 'TextArea',
                                             xns: Roo.form,
-                                            disabled : true,
+                                            readOnly : true,
                                             fieldLabel : 'Original',
                                             height : 150,
                                             name : 'src_id_txt',
@@ -124,8 +124,8 @@ Pman.Dialog.CmsTranslateTemplates = {
             center : {
                 xtype: 'LayoutRegion',
                 xns: Roo,
-                title : "Note: If the original text contains template variables like  {TEMPLATE_VARIABLE} <br /Be carefull to retain them otherwise the translation may not work",
-                titlebar : true
+                titlebar : true,
+                title : "Note: If the original text contains template variables like  {TEMPLATE_VARIABLE} <br/>Be careful to retain them otherwise the translation may not work"
             },
             buttons : [
                 {