From 8e731d9daf27ce91846498e1f3c23851309e377f Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 30 Aug 2018 15:04:04 +0800 Subject: [PATCH] Pman.Dialog.CoreEnumMerge.bjs Pman.Dialog.CoreEnumMerge.js --- Pman.Dialog.CoreEnumMerge.bjs | 21 ++++++++++++++++----- Pman.Dialog.CoreEnumMerge.js | 6 ++++++ 2 files changed, 22 insertions(+), 5 deletions(-) diff --git a/Pman.Dialog.CoreEnumMerge.bjs b/Pman.Dialog.CoreEnumMerge.bjs index 03d79e98..cac65771 100644 --- a/Pman.Dialog.CoreEnumMerge.bjs +++ b/Pman.Dialog.CoreEnumMerge.bjs @@ -2,7 +2,7 @@ "name" : "Pman.Dialog.CoreEnumMerge", "parent" : "", "title" : "", - "path" : "/home/benny/gitlive/web.hhyc_membership_system/Pman/Core/Pman.Dialog.CoreEnumMerge.bjs", + "path" : "/home/alan/gitlive/Pman.Core/Pman.Dialog.CoreEnumMerge.bjs", "permname" : "", "modOrder" : "001", "strings" : { @@ -13,6 +13,12 @@ "68be4837f6c739877233e527a996dd00" : "Merge", "ea4788705e6873b424c65e91c2846b19" : "Cancel" }, + "named_strings" : { + "_merge_id_name_emptyText" : "bf8691517ce00a09186a05cd65863091", + "_merge_id_name_loadingText" : "1243daf593fa297e07ab03bf06d925af", + "_merge_id_name_qtip" : "bf8691517ce00a09186a05cd65863091", + "_merge_id_name_fieldLabel" : "03e956f1dca2b4d525df03cb1899cb6f" + }, "items" : [ { "listeners" : { @@ -41,15 +47,20 @@ { "listeners" : { "actionfailed" : "function (_self, action)\n{\n \n Pman.standardActionFailed(_self, action);\n}\n", - "rendered" : "function (form)\n{\n _this.form = form;\n}", - "actioncomplete" : "function (_self, action)\n{\n\n if (action.type =='submit') {\n \n _this.dialog.hide();\n \n if (_this.callback) {\n _this.callback.call(_this, _this.form.getValues());\n }\n _this.form.reset();\n return;\n }\n if (action.type == 'setdata') {\n \n var title = _this.data.title || _this.data.etype;\n _this.dialog.setTitle(\"Delete selected \" + title + \" and merge data with\");\n \n return;\n }\n \n}\n" + "actioncomplete" : "function (_self, action)\n{\n\n if (action.type =='submit') {\n \n _this.dialog.hide();\n \n if (_this.callback) {\n _this.callback.call(_this, _this.form.getValues());\n }\n _this.form.reset();\n return;\n }\n if (action.type == 'setdata') {\n \n var title = _this.data.title || _this.data.etype;\n _this.dialog.setTitle(\"Delete selected \" + title + \" and merge data with\");\n \n return;\n }\n \n}\n", + "rendered" : "function (form)\n{\n _this.form = form;\n}" }, "$ url" : "baseURL + '/Roo/Core_enum.php'", - "xtype" : "Form", "method" : "POST", + "xtype" : "Form", "style" : "margin: 10px;", "$ xns" : "Roo.form", "items" : [ + { + "xtype" : "Input", + "$ xns" : "Roo.form", + "name" : "etype" + }, { "alwaysQuery" : true, "listWidth" : 400, @@ -86,8 +97,8 @@ "items" : [ { "$ url" : "baseURL + '/Roo/Core_enum'", - "method" : "GET", "xtype" : "HttpProxy", + "method" : "GET", "$ xns" : "Roo.data", "* prop" : "proxy" }, diff --git a/Pman.Dialog.CoreEnumMerge.js b/Pman.Dialog.CoreEnumMerge.js index 18d008e5..87bdf1de 100644 --- a/Pman.Dialog.CoreEnumMerge.js +++ b/Pman.Dialog.CoreEnumMerge.js @@ -144,6 +144,12 @@ Pman.Dialog.CoreEnumMerge = { xns : Roo.form, '|xns' : 'Roo.form', items : [ + { + xtype : 'Input', + name : 'etype', + xns : Roo.form, + '|xns' : 'Roo.form' + }, { xtype : 'ComboBox', allowBlank : false, -- 2.39.2