Fix some harmless errors in the console editing autocomplete fields

"comment.split is not a function"
This commit is contained in:
Dan Stillman 2014-02-18 18:43:58 -05:00
parent 04fa4a0943
commit 62bc5830eb

View file

@ -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++)
{