Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fixed JS bug with adding users

  • Loading branch information...
commit 34a1037fa5a783673bfd081630c41eeed076f254 1 parent 1c24e0c
@AhmerArif authored
Showing with 11 additions and 0 deletions.
  1. +11 −0 app/assets/javascripts/application.js
View
11 app/assets/javascripts/application.js
@@ -28,6 +28,17 @@ $(document).ready(function() {
$('a.dropdown-toggle').dropdown(); //little fix to let dropdowns work with single clicks
});
+ $('#user_role_ids_5').click(function(e) {
+ if ($('#user_role_ids_5').is(':checked'))
+ {
+ $('#district_picker').modal({
+ show: true,
+ backdrop: false,
+ keyboard: true
+ })
+ }
+ });
+
// The Markup style for dropdowns JUST does not work with me once assets are precompiled
$('a.dropdown-toggle').click(function(e) {
$('a.dropdown-toggle').dropdown();
Please sign in to comment.
Something went wrong with that request. Please try again.