Log in

View Full Version : Prototype.js


nix
08-12-2007, 06:52 AM
Has anyone been able to get prototype.js to work with vbulletin? Everything seems to work except the post quick edit feature. You can hit quick edit but you cannot save or cancel.

This is the error it gives.

obj.style has no properties
/vbulletin_textedit.js?v=368
Line 828

This is the line.

obj.style.background = istyles[istyle][0];

It looks like prototype is adding an extra empty function at the end of the for loop.

This the part that break it in prototype.

445 var Enumerable = {
446 each: function(iterator) {

I've traced it down to that but I'm still learning Js so I don't know how to fix it. Anyone have any ideas?

Nick0r
08-12-2007, 07:38 PM
Bump ^^

He has an awesome mod with 1 tiny bug left in it. If someone could fix it, it would be a huge help!