eddysilvamendes / jquery-star-rating-plugin

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

don't override options #43

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
This code:
    jQuery('.star').rating({
        cancel: 'Other cancel title'
    });
doesn't override "cancel" option. Cancel image still have title "Cancel 
rating".
The same problem is with others options...

What version of the plugin/jQuery are you using?
PLUGIN VERSION: 3.12
JQUERY VERSION: 1.3.2

On what browser(s) or operating system?
BROWSER(S): all

Original issue reported on code.google.com by nos...@gmail.com on 20 Oct 2009 at 9:28

GoogleCodeExporter commented 8 years ago
I have the same problem. The cancel, cancelValue options and the callback 
function 
doesn't seems to work. I'm using 3.12 version of the plugin and 1.3.2 version 
of jQuery.

Any ideas?

Original comment by eduardoc...@gmail.com on 4 Nov 2009 at 5:11

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
According to the source code, you can override options directly, eg.

$.fn.rating.options.cancel = 'Other cancel title';

This at least works for me.

Original comment by tatu.kairi@gmail.com on 22 Oct 2010 at 11:25

GoogleCodeExporter commented 8 years ago

Original comment by diego.a...@gmail.com on 23 Feb 2013 at 5:12