Usefz89 / jquery-star-rating-plugin

Automatically exported from code.google.com/p/jquery-star-rating-plugin
0 stars 0 forks source link

Uncaught TypeError: Object [object Object] has no method 'addBack' #127

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Been using plugin for about 18 months with direct link to 
2.
3.

What is the expected output? What do you see instead?
Stars don't work - they show but you can't select. Console error:
Uncaught TypeError: Object [object Object] has no method 'addBack' 
See attached screenshot.

What version of the plugin/jQuery are you using?
PLUGIN VERSION: 
http://jquery-star-rating-plugin.googlecode.com/svn/trunk/jquery.rating.js
JQUERY VERSION: http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js

On what browser(s) or operating system?
BROWSER(S): Chrome, firefox etc

Please provide a link to where the problem can be observed:
URL: 
http://www.icanhire.com/my-rating.php?k=rr6GzVHFFONU5Ukrn7JgncQ56snL%2BoEt5lh3Wf
F6XB22Nr14EFpIupUt0sH78xhum%2F9u7UU0T6DHqSSkKlv6aHU%2BWymX7f3apEne%2F28D0otWwkoQ
br3YTJ9fqDZ%2BOZbc

Feel free to provide any additional information below.

- are there any downloads available for previous versions of the js so we can 
at least get back to working while fix is looked at?

Original issue reported on code.google.com by csandre...@gmail.com on 15 Mar 2013 at 10:20

Attachments:

GoogleCodeExporter commented 8 years ago
Sorry, first line should read:

Been using plugin for about 18 months with direct link to the js on google 
code. As of 2 days ago it stopped working. 

Original comment by csandre...@gmail.com on 15 Mar 2013 at 10:21

GoogleCodeExporter commented 8 years ago
That's because we no longer support jQuery 1.7.
andBack has replaced andSelf which is now deprecated.

You should either update jQuery (start using 1.9) or use an old version of the 
plugin (not recommended).

See http://api.jquery.com/andSelf/

Original comment by diego.a...@gmail.com on 15 Mar 2013 at 10:24

GoogleCodeExporter commented 8 years ago
Ah, ok, thanks for that. Please can you let me know where I can download an 
earlier version of the plugin so we can get a quick fix going? Many thanks

Original comment by csandre...@gmail.com on 15 Mar 2013 at 10:38

GoogleCodeExporter commented 8 years ago
Actually - don't worry, I got it working with a quick link to JQ 1.9  - thanks.

Original comment by csandre...@gmail.com on 15 Mar 2013 at 10:43

GoogleCodeExporter commented 8 years ago
Perfect, that's the ideal solution anyway.

Original comment by diego.a...@gmail.com on 15 Mar 2013 at 11:35