Closed GoogleCodeExporter closed 8 years ago
The problem is that the control.current is null when the user click the cancel
button.
Here is my lame fix:
var myContext;
if (control.current == null)
myContext = control.cancel;
else myContext = control.current;
var input = $(control.current ? control.current.data('rating.input') : null);
if (control.callback) control.callback.apply(input[0], [input.val(), $('a',
myContext)[0]]); // callback event
Original comment by martinj...@gmail.com
on 24 Sep 2009 at 7:58
Original comment by diego.a...@gmail.com
on 23 Feb 2013 at 5:12
Original issue reported on code.google.com by
martinj...@gmail.com
on 24 Sep 2009 at 7:39