add english back in
authorAlan Knowles <alan@roojs.com>
Tue, 15 Dec 2020 07:50:22 +0000 (15:50 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 15 Dec 2020 07:50:22 +0000 (15:50 +0800)
Pman.Dialog.AdminLanguagePick.bjs
Pman.Dialog.AdminLanguagePick.js

index 5f5fd3c..fe94a49 100644 (file)
@@ -42,8 +42,8 @@
         "|rendered" : "function (form)\n{\n    _this.form= form;\n}\n"
        },
        "$ url" : "baseURL + '/Roo/INGORE.php'",
-       "xtype" : "Form",
        "method" : "GET",
+       "xtype" : "Form",
        "style" : "margin:10px;",
        "$ xns" : "Roo.form",
        "items" : [
@@ -64,7 +64,7 @@
          "items" : [
           {
            "listeners" : {
-            "beforeload" : "function (_self, o)\n{\n    o.params['!code'] = 'en'; // exclude english from the list (it's the default?)\n}"
+            "beforeload" : "function (_self, o)\n{\n   //  o.params['!code'] = 'en'; // exclude english from the list (it's the default?)\n}"
            },
            "xtype" : "Store",
            "$ xns" : "Roo.data",
@@ -72,8 +72,8 @@
            "items" : [
             {
              "$ url" : "baseURL + '/Core/I18n/Lang'",
-             "xtype" : "HttpProxy",
              "method" : "GET",
+             "xtype" : "HttpProxy",
              "$ xns" : "Roo.data",
              "* prop" : "proxy"
             },
index 386b0c8..745097d 100644 (file)
@@ -165,7 +165,7 @@ Pman.Dialog.AdminLanguagePick = {
            listeners : {
             beforeload : function (_self, o)
              {
-                 o.params['!code'] = 'en'; // exclude english from the list (it's the default?)
+                //  o.params['!code'] = 'en'; // exclude english from the list (it's the default?)
              }
            },
            xns : Roo.data,