For whatever reason the server I am working on is configured not to serve .json files, and we will be using Floatbox in English, so it works fine without successfully retrieving the language file.
Is there a configuration option to make it not request the file? If not, should I just dig in to the code and pull out the part where it is doing that?
Not requesting language files
Page: 1
Author | Post |
---|---|
myquealer
|
#1 Thu Oct 30, 2008 9:48 pm
|
Guest | |
#2 Thu Oct 30, 2008 10:04 pm
|
|
Administrator
Registered: Aug 2008
Posts: 3382
|
I would expect the ajax calls for the json files to fail gracefully and silently. But I gather this is not the case in your circumstances.
Immediately after the line that begins this.browserLanguage = (navigator.language ... is an if() block that begins if (!this.isChild) { You can delete that whole if block or just change the initial conditional to if (false) { |
myquealer
|
#3 Thu Oct 30, 2008 10:34 pm
|
Guest |
Thanks, Floatbox is awesome, and your response time is amazing!
The calls fail fairly gracefully. It does show an error in Firebug, when it fails to retrieve the file, and presumably in Firefox's Error Console, though I never look there since I use Firebug. Plus it causes unneeded requests and noise in our error logs. |
Page: 1