Pman.Download.js
[Pman.Core] / Pman.Dialog.CoreColumnConfig.bjs
index 094d28c..1bff557 100644 (file)
@@ -8,9 +8,9 @@
  "strings" : {
   "cfcd208495d565ef66e7dff9f98764da" : "0",
   "ea4788705e6873b424c65e91c2846b19" : "Cancel",
-  "135d0838bf9429a58dc388369036be2c" : "Add / Edit Column Configuration",
+  "c40cab5f875bb6c270d800eff77a4af0" : "Save Column Configuration",
   "b5a7adde1af5c87d7fd797b6245c2a39" : "Description",
-  "e0aa021e21dddbd6d8cecec71e9cf564" : "OK"
+  "c9cc8cce247e49bae79f15173ce97354" : "Save"
  },
  "named_strings" : {
   "description_fieldLabel" : "b5a7adde1af5c87d7fd797b6245c2a39",
    "modal" : true,
    "collapsible" : false,
    "background" : true,
-   "title" : "Add / Edit Column Configuration",
+   "title" : "Save Column Configuration",
    "xtype" : "LayoutDialog",
    "width" : 400,
    "$ xns" : "Roo",
    "closable" : false,
    "resizable" : false,
-   "height" : 150,
+   "height" : 110,
    "items" : [
     {
      "xtype" : "LayoutRegion",
        "$ url" : "baseURL + '/Roo/core_setting'",
        "method" : "POST",
        "xtype" : "Form",
-       "style" : "margin: 5px",
+       "style" : "padding:5px",
        "$ xns" : "Roo.form",
        "items" : [
         {
-         "listeners" : {
-          "keyup" : "function (_self, e)\n{\n    _this.form.findField('name').setValue(this.getValue().replace(/[^a-z0-9]/ig, '').toUpperCase());\n    \n}"
-         },
          "fieldLabel" : "Description",
          "xtype" : "TextField",
          "allowBlank" : false,
          "$ xns" : "Roo.form",
          "name" : "module"
         },
+        {
+         "xtype" : "Hidden",
+         "$ xns" : "Roo.form",
+         "name" : "val"
+        },
         {
          "xtype" : "Hidden",
          "value" : 0,
     },
     {
      "listeners" : {
-      "|click" : "function() {\n\n    var name =     _this.form.findField('name').getValue();\n    name = name.toUpperCase().replace(/[^A-Z]+/g, '');\n    if (!name.length) {\n        Roo.MessageBox.alert(\"Error\",\"Please fill in a valid name\");\n        return;\n    }\n    _this.form.findField('name').setValue(name);\n \n    _this.form.doAction('submit');\n    \n}"
+      "|click" : "function() {\n\n     \n    _this.form.doAction('submit');\n    \n}"
      },
-     "text" : "OK",
+     "text" : "Save",
      "xtype" : "Button",
      "$ xns" : "Roo",
      "* prop" : "buttons[]"