When I try to incorporate the prototype.js Javascript Library into vbulletin I have the following problem:
When I edit a message (not advanced mode) and I click the save button, it saves the message but it does not go back to the message normally (the editor window remains).
The javascript error (from FireFox Error Log):
Error: this.popups[popupname].parentNode has no properties
Source File: http://forums.deadgod.net/clientscri...tedit.js?v=364
Line: 1141
That line (bold):
I spoke to people who develop the prototype library and they are not sure of the exact problem as they are not familiar with that code.. But they say typically only problems arise with quickly written/poorly written javascript.
I would very much like to be able to use prototype with vBulletin, if you have any ideas as to what is causing this or how to fix it please share.
When I edit a message (not advanced mode) and I click the save button, it saves the message but it does not go back to the message normally (the editor window remains).
The javascript error (from FireFox Error Log):
Error: this.popups[popupname].parentNode has no properties
Source File: http://forums.deadgod.net/clientscri...tedit.js?v=364
Line: 1141
That line (bold):
Code:
/** * Destroy Popup */ this.destroy_popup = function(popupname) { [b]this.popups[popupname].parentNode.removeChild(this.popups[popupname]);[/b] this.popups[popupname] = null; }
I would very much like to be able to use prototype with vBulletin, if you have any ideas as to what is causing this or how to fix it please share.
Comment