Fix delete warnings for categories, link categories, tags and comments, fixes #9050

git-svn-id: https://develop.svn.wordpress.org/trunk@10522 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz
2009-02-07 15:26:01 +00:00
parent ccaf039e0d
commit d08b1b842d
8 changed files with 39 additions and 21 deletions
+6 -4
View File
@@ -37,6 +37,10 @@ setCommentsList = function() {
settings.data._per_page = perPageInput.val();
settings.data._page = pageInput.val();
settings.data._url = document.location.href;
if ( 'undefined' != showNotice )
return showNotice.warn() ? settings : false;
return settings;
};
@@ -128,10 +132,6 @@ setCommentsList = function() {
};
$(document).ready(function(){
setCommentsList();
});
commentReply = {
init : function() {
@@ -346,7 +346,9 @@ commentReply = {
$(document).ready(function(){
var make_hotkeys_redirect, edit_comment, toggle_all, make_bulk;
setCommentsList();
commentReply.init();
$('.delete a[class^="delete"]').click(function(){return false;});
if ( typeof QTags != 'undefined' )
ed_reply = new QTags('ed_reply', 'replycontent', 'replycontainer', 'more');