mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
Cleanup js files and prepare for concatenating, move most inline js to files
git-svn-id: https://develop.svn.wordpress.org/trunk@10348 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
var theList, theExtraList;
|
||||
var theList, theExtraList, toggleWithKeyboard = false;
|
||||
(function($) {
|
||||
|
||||
setCommentsList = function() {
|
||||
@@ -142,8 +142,8 @@ commentReply = {
|
||||
|
||||
// add events
|
||||
$('#the-comment-list .column-comment > p').dblclick(function(){
|
||||
commentReply.toggle($(this).parent());
|
||||
});
|
||||
commentReply.toggle($(this).parent());
|
||||
});
|
||||
|
||||
$('#doaction, #doaction2, #post-query-submit').click(function(e){
|
||||
if ( $('#the-comment-list #replyrow').length > 0 )
|
||||
@@ -332,11 +332,10 @@ commentReply = {
|
||||
|
||||
}
|
||||
};
|
||||
toggleWithKeyboard = false;
|
||||
|
||||
$(document).ready(function(){
|
||||
var make_hotkeys_redirect, edit_comment, toggle_all, make_bulk;
|
||||
|
||||
columns.init('edit-comments');
|
||||
|
||||
commentReply.init();
|
||||
|
||||
if ( typeof QTags != 'undefined' )
|
||||
@@ -358,8 +357,7 @@ $(document).ready(function(){
|
||||
};
|
||||
toggle_all = function() {
|
||||
toggleWithKeyboard = true;
|
||||
var master_checkbox = $('form#comments-form .check-column :checkbox:first');
|
||||
master_checkbox.click().attr('checked', '');
|
||||
$('#comments-form thead #cb input:checkbox').click().attr('checked', '');
|
||||
toggleWithKeyboard = false;
|
||||
}
|
||||
make_bulk = function(value) {
|
||||
|
||||
Reference in New Issue
Block a user