summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/assets/javascripts/project.js.coffee3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/assets/javascripts/project.js.coffee b/app/assets/javascripts/project.js.coffee
index 80ea179948d..2a8e8f2552b 100644
--- a/app/assets/javascripts/project.js.coffee
+++ b/app/assets/javascripts/project.js.coffee
@@ -86,7 +86,8 @@ class @Project
$el.attr('data-ref')
toggleLabel: (obj, $el) ->
$el.text().trim()
- clicked: (e) ->
+ clicked: (selected, $el, e) ->
+ e.preventDefault()
if $('input[name="ref"]').length
$form = $dropdown.closest('form')
action = $form.attr('action')