#661 and #662 Could not create a user request (or ?) as soon as the autocomplete feature gets active

SVN:trunk[2615]
This commit is contained in:
Romain Quetiez
2013-03-12 16:09:03 +00:00
parent 96b3e9a891
commit 462f163d8a
2 changed files with 4 additions and 0 deletions

View File

@@ -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,

View File

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