Brad Registered Users
 Ventrian Super Newbie Posts:23

 |
| 3/11/2009 8:34 PM |
|
I have jQuery-1.3.min.js installed in my skin.
I unchecked include jQuery, but now I am getting the following js error.
Syntax error, unrecognized expression: [@rel*=lightbox1767]'
any suggestions? |
|
|
|
|
Brad Registered Users
 Ventrian Super Newbie Posts:23

 |
|
Scott McCulloch Administrators
 Ventrian Master Posts:17204


 |
| 3/12/2009 5:32 AM |
|
| Is jquery included before lightbox is included? |
|
Scott McCulloch Site Administrator |
|
|
Brad Registered Users
 Ventrian Super Newbie Posts:23

 |
| 3/12/2009 7:40 AM |
|
yes, my jquery is loaded first.
I am getting the same error as these guys in the following link : http://devkick.com/talk/topic/382/jquery-13/
From what they are saying [@rel=...] has been deprecated since jquery 1.2 and it is now invalid in jquery 1.3
Here is the full error I am getting.
Error: [Exception... "'Syntax error, unrecognized expression: [@rel*=lightbox1767]' when calling method: [nsIDOMEventListener::handleEvent]" nsresult: "0x8057001e (NS_ERROR_XPC_JS_THREW_STRING)" location: "" data: no]
thanks for the help,
Brad |
|
|
|
|
Scott McCulloch Administrators
 Ventrian Master Posts:17204


 |
| 3/12/2009 2:00 PM |
|
| OK, I'll need to look into it - I am using jquery 1.2.1 with the module and this is the first I've seen of this isssue. |
|
Scott McCulloch Site Administrator |
|
|
caroig Gold Membership
 Ventrian Master Posts:385

 |
|
Scott McCulloch Administrators
 Ventrian Master Posts:17204


 |
| 3/13/2009 4:30 AM |
|
| What made you upgrade to 1.3? 1.2 comes with simple gallery, are you using it for other module/skins? |
|
Scott McCulloch Site Administrator |
|
|
Scott McCulloch Administrators
 Ventrian Master Posts:17204


 |
| 3/13/2009 4:31 AM |
|
| It looks like just removing the @ in @rel is the recommended fix. |
|
Scott McCulloch Site Administrator |
|
|
Brad Registered Users
 Ventrian Super Newbie Posts:23

 |
| 3/13/2009 6:55 AM |
|
Posted By Scott McCulloch on 3/13/2009 4:30 AM What made you upgrade to 1.3? 1.2 comes with simple gallery, are you using it for other module/skins?
Yes we are using jQuery in our main skin and other modules. 1.3 has some bug fixes we needed.
I belive this js is being generated server side, is there anything I can do before your next release?
Thanks
|
|
|
|
|
Scott McCulloch Administrators
 Ventrian Master Posts:17204


 |
| 3/13/2009 7:00 AM |
|
For the normal module, yes. Modify /DesktopModules/SimpleGallery/Controls/ViewPhotos.ascx Change @rel to rel (remove @). For the latest module, it requires a code change. |
|
Scott McCulloch Site Administrator |
|
|
caroig Gold Membership
 Ventrian Master Posts:385

 |
| 3/23/2009 12:19 PM |
|
I've just upgraded Simple Gallery to the latest version (02.04.08) and I'm still getting an error related to the deprecated @rel
[Exception... "'Syntax error, unrecognized expression: [@rel*=lightbox1141]' when calling method: [nsIDOMEventListener::handleEvent]" nsresult: "0x8057001e (NS_ERROR_XPC_JS_THREW_STRING)" location: "" data: no]
Is there something else I need to do to get this working?
This is happening on the main gallery - I haven't checked latest |
|
|
|
|
Brad Registered Users
 Ventrian Super Newbie Posts:23

 |
| 3/24/2009 7:19 AM |
|
hum... the latest upgrade seemed to fix my Gallery.
|
|
|
|
|
caroig Gold Membership
 Ventrian Master Posts:385

 |
| 3/24/2009 8:42 AM |
|
I wonder if this bug could have crept back in.
I've just looked at ViewPhotos.ascx from the 02.04.08 release and it's still @rel* |
|
|
|
|
Scott McCulloch Administrators
 Ventrian Master Posts:17204


 |
| 3/25/2009 6:39 AM |
|
| I thought this was removed and it has been, but it wasn't packaged into the module correctly. |
|
Scott McCulloch Site Administrator |
|
|
Scott McCulloch Administrators
 Ventrian Master Posts:17204


 |
| 4/08/2009 5:28 AM |
|
| Can you try the last release? |
|
Scott McCulloch Site Administrator |
|
|
caroig Gold Membership
 Ventrian Master Posts:385

 |
| 4/25/2009 12:43 PM |
|
just installed it, and it looks fine. thanks. |
|
|
|
|