From 470397e2fddf82b2e262f1f14223156f01efefd1 Mon Sep 17 00:00:00 2001 From: Denis Flaven Date: Thu, 28 Jun 2012 12:15:52 +0000 Subject: [PATCH] Bug fix: support [+] button inside linkedsets.. with constraints (cf Revision 1913) SVN:1.2.1[2115] --- application/ui.extkeywidget.class.inc.php | 2 +- js/wizardhelper.js | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/application/ui.extkeywidget.class.inc.php b/application/ui.extkeywidget.class.inc.php index 0a4682876..b94e0d671 100644 --- a/application/ui.extkeywidget.class.inc.php +++ b/application/ui.extkeywidget.class.inc.php @@ -120,7 +120,7 @@ class UIExtKeyWidget else { $sWizHelper = 'oWizardHelper'.$sFormPrefix; - $sWizHelperJSON = $sWizHelper.'.ToJSON()'; + $sWizHelperJSON = $sWizHelper.'.UpdateWizardToJSON()'; } if (is_null($oAllowedValues)) { diff --git a/js/wizardhelper.js b/js/wizardhelper.js index a66be5cd8..e069ddae4 100644 --- a/js/wizardhelper.js +++ b/js/wizardhelper.js @@ -136,6 +136,12 @@ function WizardHelper(sClass, sFormPrefix, sState) } } + this.UpdateWizardToJSON = function () + { + this.UpdateWizard(); + return this.ToJSON() + } + this.AjaxQueryServer = function () { //console.log('data sent:', this.ToJSON());