Uncaught Exception Error Standard Edition
Just upgraded to AW Standard using the following combo
I realize I modified the "onCurrentItemChanged" and removing that only removes one of the errors. But I get 2 of the same and both errors are as follows
Error: uncaught exception: [Exception... "Component returned failure code: 0x80004003 (NS_ERROR_INVALID_POINTER) [nsIDOMHTMLBodyElement.removeChild]" nsresult: "0x80004003 (NS_ERROR_INVALID_POINTER)" location: "JS frame :: http://office.twtserver.com/plh_iface/runtime/lib/aw.js :: anonymous :: line 38" data: no]
var status = new AW.UI.Combo;
status.setId("status");
status.onCurrentItemChanged = function(i){
var text = this.getItemText(i);
this.setControlImage(this.getItemImage(i));
this.setControlText(text);
this.hidePopup();
var e = this.getContent("box/text").element();
if (AW.safari) { e.innerHTML = text; }
else { e.value = text; e.select(); }
e = null;
};
status.setControlText("Online");
status.setControlImage("online");
status.getContent('box/text').setAttribute('readonly', true);
status.setItemText(["Online", "Offline"]);
status.setItemImage(["online", "offline"]);
status.setItemCount(2);
I realize I modified the "onCurrentItemChanged" and removing that only removes one of the errors. But I get 2 of the same and both errors are as follows
Error: uncaught exception: [Exception... "Component returned failure code: 0x80004003 (NS_ERROR_INVALID_POINTER) [nsIDOMHTMLBodyElement.removeChild]" nsresult: "0x80004003 (NS_ERROR_INVALID_POINTER)" location: "JS frame :: http://office.twtserver.com/plh_iface/runtime/lib/aw.js :: anonymous :: line 38" data: no]
Tony (www.FriendsOfAW.com)
February 9,