From fae5ea749a5bad360e9d580b8492376de4113205 Mon Sep 17 00:00:00 2001 From: mrjive Date: Wed, 16 Sep 2015 02:25:44 -0700 Subject: added toggle_select --- view/tpl/admin_users.tpl | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'view/tpl/admin_users.tpl') diff --git a/view/tpl/admin_users.tpl b/view/tpl/admin_users.tpl index f372911a0..8a4b772a8 100755 --- a/view/tpl/admin_users.tpl +++ b/view/tpl/admin_users.tpl @@ -5,8 +5,8 @@ function confirm_delete_multi(){ return confirm("{{$confirm_delete_multi}}"); } - function selectall(cls){ - $("."+cls).attr('checked','checked'); + function toggle_selectall(cls){ + $("."+cls).prop("checked", !$("."+cls).prop("checked")); return false; } @@ -40,7 +40,7 @@ {{/foreach}} -
{{$select_all}}
+
{{$select_all}}
{{else}}

{{$no_pending}}

@@ -79,10 +79,10 @@ {{/foreach}} -
{{$select_all}}
+
{{$select_all}}
{{else}} NO USERS?!? {{/if}} - \ No newline at end of file + -- cgit v1.2.3