From 462f163d8ae2772584eff837ed036ff28eca5c76 Mon Sep 17 00:00:00 2001 From: Romain Quetiez Date: Tue, 12 Mar 2013 16:09:03 +0000 Subject: [PATCH] #661 and #662 Could not create a user request (or ?) as soon as the autocomplete feature gets active SVN:trunk[2615] --- js/jquery.autocomplete.js | 1 + js/wizardhelper.js | 3 +++ 2 files changed, 4 insertions(+) diff --git a/js/jquery.autocomplete.js b/js/jquery.autocomplete.js index 99ee44bc9..c18949789 100644 --- a/js/jquery.autocomplete.js +++ b/js/jquery.autocomplete.js @@ -361,6 +361,7 @@ $.Autocompleter = function(input, options) { $.ajax({ // try to leverage ajaxQueue plugin to abort previous requests mode: "abort", + type: "POST", // limit abortion to this input port: "autocomplete" + input.name, dataType: options.dataType, diff --git a/js/wizardhelper.js b/js/wizardhelper.js index 46a16ff30..26efa921d 100644 --- a/js/wizardhelper.js +++ b/js/wizardhelper.js @@ -134,6 +134,9 @@ function WizardHelper(sClass, sFormPrefix, sState) //console.log(sFieldCode); this.UpdateCurrentValue(sCleanFieldCode); } + // Remove unnecessary stuff + this.m_oData.m_oDefaultValue = {}; + this.m_oData.m_oAllowedValues = {}; } this.UpdateWizardToJSON = function ()