Эх сурвалжийг харах

HUE-6241 [useradmin] The checkboxes on user and group lists should work after a Hue 4 redirect too

Enrico Berti 8 жил өмнө
parent
commit
5e03ede

+ 1 - 0
apps/useradmin/src/useradmin/templates/list_groups.mako

@@ -128,6 +128,7 @@ ${layout.menubar(section='groups')}
 
   $(document).ready(function () {
     var $groupsComponents = $('#groupsComponents');
+    $(document).off('click', '#groupsComponents .groupCheck');
 
     var viewModel = {
       availableGroups: ko.observableArray(${ groups_json | n,antixss }),

+ 1 - 0
apps/useradmin/src/useradmin/templates/list_users.mako

@@ -144,6 +144,7 @@ ${layout.menubar(section='users')}
 
   $(document).ready(function () {
     var $usersComponents = $('#usersComponents');
+    $(document).off('click', '#usersComponents .userCheck');
 
     var viewModel = {
       availableUsers: ko.observableArray(${ users_json | n,antixss }),