Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> NukeSentinel(tm) v2.6.x
Author Message
montego
Site Admin



Joined: Aug 29, 2004
Posts: 9457
Location: Arizona

PostPosted: Thu Sep 11, 2008 6:54 am Reply with quote

There appears to be an issue in nukesentinel4.js (line 157). I can see this error on the home page, when I have the FF FireBug extension enabled.

_________________
Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
BobMarion
Former Admin in Good Standing



Joined: Oct 30, 2002
Posts: 1037
Location: RedNeck Land (known as Kentucky)

PostPosted: Thu Sep 11, 2008 7:55 pm Reply with quote

I'll have to try the firebug extension and see what it saying. Not a js expert so it may be something I need help with once I see what it is though.

_________________
Bob Marion
Codito Ergo Sum
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Send e-mail Visit poster's website
testy1
Involved
Involved



Joined: Apr 06, 2008
Posts: 484

PostPosted: Fri Sep 12, 2008 1:59 am Reply with quote

I did find struff on this but forgot to send it to montego Sad

if you change the following in the file montego specified it fix's it but mess's up the display in IE7 (not sure about the others)

Find

Code:


/*@cc_on @*/
@if (@_win32)
  var fsp_x = 0; var fsp_flag = false; var fsp_src = ''; var fsp_ss = document.getElementsByTagName('script');
  while(!fsp_flag && fsp_x<fsp_ss.length)
  {
    fsp_src = fsp_ss[fsp_x].src.replace('nukesentinel4.js','nukesentinel6.js');
    if(fsp_src!=fsp_ss[fsp_x].src) fsp_flag = true;
    ++fsp_x;
  }
  document.write('<script type="text/javascript" defer="true" src="includes/'+fsp_src+'"><'+'/script>');
/*@end @*/



Change To:

Code:


/*@cc_on
@if (@_win32)
  var fsp_x = 0; var fsp_flag = false; var fsp_src = ''; var fsp_ss = document.getElementsByTagName('script');
  while(!fsp_flag && fsp_x<fsp_ss.length)
  {
    fsp_src = fsp_ss[fsp_x].src.replace('nukesentinel4.js','nukesentinel6.js');
    if(fsp_src!=fsp_ss[fsp_x].src) fsp_flag = true;
    ++fsp_x;
  } @*/
  document.write('<script type="text/javascript" defer="true" src="includes/'+fsp_src+'"><'+'/script>');
/*@end @*/


also here is a good article on it

http://www.javascriptkit.com/javatutors/conditionalcompile.shtml
 
View user's profile Send private message
montego







PostPosted: Fri Sep 12, 2008 5:50 am Reply with quote

Yup, it was Testy1 that first highlighted this issue to me during the latest RN QA testing, and I finally got around to posting it.
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> NukeSentinel(tm) v2.6.x

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©