Browse Source

Merge remote-tracking branch 'jaapmarcus/fix/bulk-actions' into feature/user-roles

Kristan Kenney 5 years ago
parent
commit
0f24b31688
1 changed files with 2 additions and 2 deletions
  1. 2 2
      web/js/init.js

+ 2 - 2
web/js/init.js

@@ -138,13 +138,13 @@ $(document).ready(function(){
                  $('.ch-toggle').each( function (){
                     if($(this).prop('checked')){
                         key=this.name;
-                        div=$('<input type="hidden" name="'+key+'[]" value="'+this.value+'"/>');
+                        div=$('<input type="hidden" name="'+key+'" value="'+this.value+'"/>');
                         $('#objects').append(div);
                     }
                  });
                  
                  $('#objects').submit();
-                 return true;
+                 return false;
               });
 
               // Shortcuts