-
19 May 2008 8:36 PM #1
Post editing completely broken
Post editing completely broken
Since the forum upgrade, there was a bug with editing posts. The changes took effect, however the page didn't refresh.
Now, I can't edit posts at all, running on FF2.
Can you have a look please?
-
20 May 2008 1:37 PM #2
I looked at it but I don't have a clue. Any vBulletin experts out there with any ideas?
-
20 May 2008 1:57 PM #3
Switching to Advanced for editing works fine tho.
"be dom-ready..."
Doug Hendricks
Maintaining ux: ManagedIFrame, MIF2 (FAQ, Wiki), ux.Media/Flash, AudioEvents, ux.Chart[Fusion,OFC,amChart], ext-basex.js/$JIT, Documentation Site.
Got Sencha licensing questions? Find out more here.
-
20 May 2008 2:52 PM #4
I did a quick search, and http://www.vbulletin.com/forum/proje...?issueid=22912 is the same problem, but it's an issue with prototype.js.
-
20 May 2008 3:53 PM #5
I see the same thing with Opera, I just refresh the page after editing the post.
-
20 May 2008 6:14 PM #6
Firebug to the rescue...
when cancelling a quickedit:

when saving a quickedit:

i tried to dive through vB's scripts, but they're ugly.
i couldn't stand the ugliness.
Sencha Docs / Ext 3.x - ( Docs | Examples )
Learning Center / Saki's Examples (for 2.x) / HOWTO - ( Report Bugs | Post Proper Code )
-
21 May 2008 4:36 AM #7
vBulletin uses JavaScript Array objects as hashes and iterates over them by
that doesn't work with Ext Js because Ext Js adds several functions to the Array prototype.Code:for (var i in array) { // do something with array[i] }
To fix this error, one has to change all hashes to Objects and/or all for-loops to skip prototype-properties
Code:for (var i in array) { if (array.hasOwnProperty(i)){ // do something with array[i] } }
I just did a quick scan of the sources and found quite some of these for-loops that need to be adjusted. Just regex-search for "for\s*\(.*\sin\s.*\)" to find these.
Edit on Safari ... also works after a refreshDaniel Jagszent
dɐɳiel@ʝɐgszeɳt.de <- convert to plain ASCII to get my email address
-
21 May 2008 8:35 AM #8
Thanks mystix and dj. It should be fixed now (may require refresh).
Edit: (Does this edit work???)
Edit: Yes it does!
-
21 May 2008 10:11 AM #9
The font and font-size lists also needs this patch
Daniel Jagszent
dɐɳiel@ʝɐgszeɳt.de <- convert to plain ASCII to get my email address
-
21 May 2008 6:42 PM #10
Sencha Docs / Ext 3.x - ( Docs | Examples )
Learning Center / Saki's Examples (for 2.x) / HOWTO - ( Report Bugs | Post Proper Code )


Reply With Quote



