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.itemID = itemID;
|
||||||
params.creatorTypeID = creatorTypeID;
|
params.creatorTypeID = creatorTypeID;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
t.setAttribute('ontextentered',
|
||||||
|
'document.getBindingParent(this).handleCreatorAutoCompleteSelect(this)');
|
||||||
};
|
};
|
||||||
t.setAttribute(
|
t.setAttribute(
|
||||||
'autocompletesearchparam', JSON.stringify(params)
|
'autocompletesearchparam', JSON.stringify(params)
|
||||||
);
|
);
|
||||||
t.setAttribute('ontextentered',
|
|
||||||
'document.getBindingParent(this).handleCreatorAutoCompleteSelect(this)');
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
var box = elem.parentNode;
|
var box = elem.parentNode;
|
||||||
|
@ -1489,6 +1490,7 @@
|
||||||
<![CDATA[
|
<![CDATA[
|
||||||
var comment = false;
|
var comment = false;
|
||||||
var controller = textbox.controller;
|
var controller = textbox.controller;
|
||||||
|
if (!controller.matchCount) return;
|
||||||
|
|
||||||
for (var i=0; i<controller.matchCount; i++)
|
for (var i=0; i<controller.matchCount; i++)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue