balazs-endresz / jquery-translate

Automatically exported from code.google.com/p/jquery-translate
5 stars 5 forks source link

Error: this.split is undefined Source File: jquery.translate-1.1.1.min.js Line: 55 #1

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

- Use translate as a function thus:
jQuery.translate(descValue,"en",lang, {
    complete:
function(translation){document.getElementById("desc").innerHTML = translation}
                    });

Where descValue is a String containing the text to be translated, and desc
is a div that will contain the translated text...

What is the expected output? What do you see instead?
The script runs fine (although I haven't tested using more than 500
characters), and the translated text is showed in the DIV, but in firefox3
I see this error in my error console EVERY time I call the translate
function...

What version of the product are you using? On what operating system?
jquery.translate-1.1.1
FireFox 3
Windows VISTA Home Premium

Original issue reported on code.google.com by davc...@gmail.com on 8 Aug 2008 at 11:49

GoogleCodeExporter commented 9 years ago
Thanks for the report, I fixed in 1.1.2.

Original comment by balazs.endresz on 12 Aug 2008 at 6:57