Vergleich admin/jscripts/themes.js - 1.8.7 - 1.8.9

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 110Zeile 110
			if (!message[1]) {
message[1] = lang.unknown_error;
}

			if (!message[1]) {
message[1] = lang.unknown_error;
}

			$.jGrowl(lang.theme_info_fetch_error + '\n\n' + message[1]);

			$.jGrowl(lang.theme_info_fetch_error + '\n\n' + message[1], {theme:'jgrowl_error'});

		} else if(request.responseText) {
if ($("#saved").html()) {
saved = $("#saved").html();

		} else if(request.responseText) {
if ($("#saved").html()) {
saved = $("#saved").html();

Zeile 182Zeile 182
				confirmReturn = confirm(save_changes_lang_string);
if (confirmReturn == true) {
ThemeSelector.save(false, isAjax);

				confirmReturn = confirm(save_changes_lang_string);
if (confirmReturn == true) {
ThemeSelector.save(false, isAjax);

					$.jGrowl('Saved');

					$.jGrowl(lang.saved, {theme:'jgrowl_success'});

				}
}
}

				}
}
}

Zeile 229Zeile 229

if (isAjax == true) {
completeMethod = 'onSaveComplete';


if (isAjax == true) {
completeMethod = 'onSaveComplete';

			$.jGrowl(lang.saving);

			$.jGrowl(lang.saving, {theme:'jgrowl_process'});

		}

$.ajax({

		}

$.ajax({

Zeile 256Zeile 256
			if (!message[1]) {
message[1] = lang.unkown_error;
}

			if (!message[1]) {
message[1] = lang.unkown_error;
}

			$.jGrowl(lang.theme_info_save_error + '\n\n' + message[1]);

			$.jGrowl(lang.theme_info_save_error + '\n\n' + message[1], {theme:'jgrowl_error'});

			return false;
} else if(request.responseText) {
$("#saved").html(" (" + lang.saved + " @ "+ Date() + ")");

			return false;
} else if(request.responseText) {
$("#saved").html(" (" + lang.saved + " @ "+ Date() + ")");

Zeile 293Zeile 293
			if (!message[1]) {
message[1] = lang.unkown_error;
}

			if (!message[1]) {
message[1] = lang.unkown_error;
}

			$.jGrowl(lang.theme_info_save_error + '\n\n' + message[1]);

			$.jGrowl(lang.theme_info_save_error + '\n\n' + message[1], {theme:'jgrowl_error'});

			return false;
}
return true;

			return false;
}
return true;