Skip to content

Commit

Permalink
update_issue_#11009
Browse files Browse the repository at this point in the history
  • Loading branch information
ayish1998 authored Apr 21, 2022
1 parent 4965b05 commit 940aaf6
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions app/views/spam2/_queue.html.erb
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
<script>
$(document).ready(function () {
var table = table_main("#queue_table");
$("#all").click(function () { //select all button
select_all();
var table = table_main("#queue_table");
$("#all").click(function () { //select all button
select_all();
});
$("#batch-spam").bind('click', function (e) { //batch spam
batch_nav("batch_spam");
$("#batch-spam").bind('click', function (e) { //batch spam
batch_nav("batch_spam");
});
$("#batch-publish").bind('click', function (e) { //batch publish
batch_nav("batch_publish");
});
$("#batch-ban").bind('click', function (e) { //batch ban
batch_nav("batch_ban");
});
$("#batch-unban").bind('click', function (e) { //batch unban
batch_nav("batch_unban");
});
$("#delete-batch").bind('click', function (e) { // batch delete
batch_nav("batch_delete");
});
$("#batch-publish").bind('click', function (e) { //batch publish
batch_nav("batch_publish");
});
$("#batch-ban").bind('click', function (e) { //batch ban
batch_nav("batch_ban");
});
$("#batch-unban").bind('click', function (e) { //batch unban
batch_nav("batch_unban");
});
$("#delete-batch").bind('click', function (e) { // batch delete
batch_nav("batch_delete");
});
});
</script>

Expand Down Expand Up @@ -85,7 +85,7 @@ $(document).ready(function () {
<script>
$('#n<%= node.id %> .delete').bind('ajax:success', function(e){
$('#n<%= node.id %>').fadeOut()
noyNotification('relax', 3000, 'danger', 'topRight', 'Node deleted');
notyNotification('relax', 3000, 'danger', 'topRight', 'Node deleted');
});
$('#n<%= node.id %> .publish').bind('ajax:success', function(e){
$('#n<%= node.id %>').hide()
Expand Down

0 comments on commit 940aaf6

Please sign in to comment.