Vergleich jscripts/thread.js - 1.8.4 - 1.8.9

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

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

					$.jGrowl(lang.post_fetch_error + ' ' + message);

					$.jGrowl(lang.post_fetch_error + ' ' + message, {theme:'jgrowl_error'});

				});
return false;
}

				});
return false;
}

Zeile 209Zeile 209

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


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

								$.jGrowl(lang.quick_edit_update_error + ' ' + message);

								$.jGrowl(lang.quick_edit_update_error + ' ' + message, {theme:'jgrowl_error'});

							});
$(this).html($('#pid_' + pid + '_temp').html());
}

							});
$(this).html($('#pid_' + pid + '_temp').html());
}

Zeile 227Zeile 227
							}
else
{

							}
else
{

								$.jGrowl(json.moderation_post);

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

								$('#post_' + pid).slideToggle();
}
}

								$('#post_' + pid).slideToggle();
}
}

Zeile 349Zeile 349

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


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

					$.jGrowl(lang.quick_reply_post_error + ' ' + message);

					$.jGrowl(lang.quick_reply_post_error + ' ' + message, {theme:'jgrowl_error'});

				});
$('#quickreply_spinner').hide();
}

				});
$('#quickreply_spinner').hide();
}

Zeile 431Zeile 431
	showIgnoredPost: function(pid)
{
$('#ignored_post_'+pid).slideToggle("slow");

	showIgnoredPost: function(pid)
{
$('#ignored_post_'+pid).slideToggle("slow");

 
		$('#post_'+pid).slideToggle("slow");
},

showDeletedPost: function(pid)
{
$('#deleted_post_'+pid).slideToggle("slow");

		$('#post_'+pid).slideToggle("slow");
},


		$('#post_'+pid).slideToggle("slow");
},


Zeile 455Zeile 461
							{
$.each(json.errors, function(i, message)
{

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

									$.jGrowl(lang.quick_delete_error + ' ' + message);

									$.jGrowl(lang.quick_delete_error + ' ' + message, {theme:'jgrowl_error'});

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

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

Zeile 469Zeile 475
									$("#quick_delete_" + pid).hide();
$("#quick_restore_" + pid).show();


									$("#quick_delete_" + pid).hide();
$("#quick_restore_" + pid).show();


									$.jGrowl(lang.quick_delete_success);

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

								}
else if(json.data == 2)
{
// Actually deleted
$('#post_'+pid).slideToggle("slow");


								}
else if(json.data == 2)
{
// Actually deleted
$('#post_'+pid).slideToggle("slow");


									$.jGrowl(lang.quick_delete_success);

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

								} else if(json.data == 3) 
{
// deleted thread --> redirect

if(!json.hasOwnProperty("url"))
{

								} else if(json.data == 3) 
{
// deleted thread --> redirect

if(!json.hasOwnProperty("url"))
{

										$.jGrowl(lang.unknown_error);

										$.jGrowl(lang.unknown_error, {theme:'jgrowl_error'});

									}

// set timeout for redirect

									}

// set timeout for redirect

Zeile 493Zeile 499
									}, 3000);

// print success message

									}, 3000);

// print success message

									$.jGrowl(lang.quick_delete_thread_success);

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

								}
}
else
{

								}
}
else
{

								$.jGrowl(lang.unknown_error);

								$.jGrowl(lang.unknown_error, {theme:'jgrowl_error'});

							}
}
});

							}
}
});

Zeile 531Zeile 537
							{
$.each(json.errors, function(i, message)
{

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

									$.jGrowl(lang.quick_restore_error + ' ' + message);

									$.jGrowl(lang.quick_restore_error + ' ' + message, {theme:'jgrowl_error'});

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

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

Zeile 542Zeile 548
								$("#quick_delete_" + pid).show();
$("#quick_restore_" + pid).hide();


								$("#quick_delete_" + pid).show();
$("#quick_restore_" + pid).hide();


								$.jGrowl(lang.quick_restore_success);

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

							}
else
{

							}
else
{

								$.jGrowl(lang.unknown_error);

								$.jGrowl(lang.unknown_error, {theme:'jgrowl_error'});

							}
}
});

							}
}
});