Fix some harmless errors in the console editing autocomplete fields
"comment.split is not a function"
This commit is contained in:
parent
04fa4a0943
commit
62bc5830eb
1 changed files with 4 additions and 2 deletions
|
@ -1446,12 +1446,13 @@
|
|||
params.itemID = itemID;
|
||||
params.creatorTypeID = creatorTypeID;
|
||||
}
|
||||
|
||||
t.setAttribute('ontextentered',
|
||||
'document.getBindingParent(this).handleCreatorAutoCompleteSelect(this)');
|
||||
};
|
||||
t.setAttribute(
|
||||
'autocompletesearchparam', JSON.stringify(params)
|
||||
);
|
||||
t.setAttribute('ontextentered',
|
||||
'document.getBindingParent(this).handleCreatorAutoCompleteSelect(this)');
|
||||
}
|
||||
}
|
||||
var box = elem.parentNode;
|
||||
|
@ -1489,6 +1490,7 @@
|
|||
<![CDATA[
|
||||
var comment = false;
|
||||
var controller = textbox.controller;
|
||||
if (!controller.matchCount) return;
|
||||
|
||||
for (var i=0; i<controller.matchCount; i++)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue