You should also explain if this needs to have jQuery installed and how to do it.
dddu88, 2012/04/24 22:14
Hi, Nicolas,
Thanks very much for your jQuery Extension, I am using it to avoid prototype $ sign conflict, it is working very well on Firefox, but on IE7 and IE8, it gave me "jQuery is undefined" error right on this call $xwiki.jsx.use("jQuery.jQueryUI"), I can see the minified UI source code in web developer debugger, the error message is just generated at jQueryUI?language=en, line 1 character 1. I checked your demo1 and demo2 page in IE7 and 8, the error happened as well. Any idea how to fix this?
Thanks very much
JamieMaher, 2012/05/15 01:03
I had to modify the XWiki.JavaScriptExtension under object editor on the jQuery.jQuery page. There should be a check for the existence of console, before trying to log the debug messages to make Internet Explorer 7 work correctly with this jQuery extension:
At the top of the js extension:
if ( typeof( console) != "undefined") console.log ('defining jQuery');
and the same at the bottom after the jQuery definition:
if ( typeof( console) != "undefined") console.log ('defined jQuery');
Otherwise, IE7 barfs on console and fails to define jQuery at all.
Nicolas, what do you mean by "2 plugins"? What is a plugin? Thanks
Could you explain how to use this extension?
You should also explain if this needs to have jQuery installed and how to do it.
Hi, Nicolas,
Thanks very much for your jQuery Extension, I am using it to avoid prototype $ sign conflict, it is working very well on Firefox, but on IE7 and IE8, it gave me "jQuery is undefined" error right on this call $xwiki.jsx.use("jQuery.jQueryUI"), I can see the minified UI source code in web developer debugger, the error message is just generated at jQueryUI?language=en, line 1 character 1.
I checked your demo1 and demo2 page in IE7 and 8, the error happened as well. Any idea how to fix this?
Thanks very much
I had to modify the XWiki.JavaScriptExtension under object editor on the jQuery.jQuery page.
There should be a check for the existence of console, before trying to log the debug messages to make Internet Explorer 7 work correctly with this jQuery extension:
At the top of the js extension:
if ( typeof( console) != "undefined") console.log ('defining jQuery');
and the same at the bottom after the jQuery definition:
if ( typeof( console) != "undefined") console.log ('defined jQuery');
Otherwise, IE7 barfs on console and fails to define jQuery at all.
Fixed that in version 1.1.1, thanks for reporting.