Vergleich jscripts/rating.js - 1.8.6 - 1.8.11

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 88Zeile 88
		{
$.each(json.errors, function(i, error)
{

		{
$.each(json.errors, function(i, error)
{

				$.jGrowl(lang.ratings_update_error + ' ' + error);

				$.jGrowl(lang.ratings_update_error + ' ' + error, {theme:'jgrowl_error'});

			});
}
else if(json.hasOwnProperty("success"))

			});
}
else if(json.hasOwnProperty("success"))

Zeile 97Zeile 97
			element.parent().before(element.next());
element.removeClass("star_rating_notrated");


			element.parent().before(element.next());
element.removeClass("star_rating_notrated");


			$.jGrowl(json.success);

			$.jGrowl(json.success, {theme:'jgrowl_success'});

			if(json.hasOwnProperty("average"))
{
$("#current_rating_"+element_id).html(json.average);

			if(json.hasOwnProperty("average"))
{
$("#current_rating_"+element_id).html(json.average);