![]() |
Quote:
Code:
function trim(str) {return str.replace(/^\s+/,'').replace(/\s+$/,'');} As regards your quotes bug, it isn't apparent on my site using Firefox and IE6 to test with. |
I get a line 7 expected ')' error when I use the quotes in a thread title. Isn't there a way to trim any code like that in the trim statement so it only looks for words? ;) I use IE 6, by the way. ;)
|
Quote:
I believe that the problem lies elsewhere... try CTRL+F5 to refreh your IE cache in case it has old files... and then look at any changes you've made to other JavaScript on the page (such as any hacks you've put into the vb supplied javascript). I tested with "'` and all worked fine. Line 7 also suggests something much higher in the file... maybe in one of the included files? Cheers David K |
It only seems to happen when you use the quotes with a topic that doesn't exist. It the topic exists (like "testing") then I don't get the error. If I use "killing my chickens", I get the error. Does this make any sense?
|
Quote:
Code:
<script language="javascript"> |
How do we fix that? ;)
|
Quote:
Code:
eval('print_output("' . fetch_template('newthread_find') . '");'); Code:
if (empty($threads)) { |
You are a saint! Thank you, sir. That worked great! ;)
I'm glad it wasn't my imagination. ;) |
Does this work with the final release of vB 3.0.0?
|
Yes.
|
All times are GMT. The time now is 01:04 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|