Error in New Entries.

Found a bug? Tell us!!
Post Reply
Imparable
Regular
Posts: 9
Joined: Wed Dec 12, 2007 8:33 pm
Location: Toronto
Contact:

Error in New Entries.

Post by Imparable »

Hi all,

Sometimes in when i write down a new story for my blog, it is not displayed and instead of my blog i just see a 51 number.

Trying to fix this bug, with firebug i get this error when posting the story:

document.getElementById("%%RNDNUM%%") has no properties
[Break on this error] function cb(){this.ver=navigator.appVersion;this.dom=document.getElementById?1:0...

And going a bit further:

function cb(){this.ver=navigator.appVersion;this.dom=document.getElementById?1:0;this.ns5=(this.dom && parseInt(this.ver)>=5)?1:0;this.ns4=(document.layers&&!this.dom)?1:0;this.bw=(this.ns4||this.ns5);return this;}function c_b(){var bw=cb();var PW=(bw.ns4||bw.ns5)?innerWidth:document.body.offsetWidth-20;var PH=(bw.ns4||bw.ns5)?innerHeight:document.body.offsetHeight-20;if(parent&&(PW<300||PH<200)){document.getElementById('%%RNDNUM%%').style.display="none"}}window.onload=c_b;
2


Hope it has sense to anyone, and could help me.

regards.
Intelligent statement here?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Error in New Entries.

Post by garvinhicking »

Hi!

That javascript does not come from Serendipity! Check if it comes from one of your Firefox extensions or something like that.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply