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());