diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-06-10 16:58:51 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-06-10 16:58:51 +0400 |
commit | c5f56ee8a06e305265d78cdb847f3dc87bd7e6f2 (patch) | |
tree | a77a1b3a4e811488f4ad0a5348aac9bdbbc7db40 /app/assets/javascripts/admin.js.coffee | |
parent | 251945e2e56b52daaeb9c8f71fcea90ba6ad928b (diff) |
Restyle admin:group:show. Remove .all calls fro users, projects here
Diffstat (limited to 'app/assets/javascripts/admin.js.coffee')
-rw-r--r-- | app/assets/javascripts/admin.js.coffee | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/app/assets/javascripts/admin.js.coffee b/app/assets/javascripts/admin.js.coffee index c83b74a76a2..da0077ea77b 100644 --- a/app/assets/javascripts/admin.js.coffee +++ b/app/assets/javascripts/admin.js.coffee @@ -19,11 +19,13 @@ class Admin modal = $('.change-owner-holder') - $('.change-owner-link').bind "click", -> + $('.change-owner-link').bind "click", (e) -> + e.preventDefault() $(this).hide() modal.show() - $('.change-owner-cancel-link').bind "click", -> + $('.change-owner-cancel-link').bind "click", (e) -> + e.preventDefault() modal.hide() $('.change-owner-link').show() |