Off the event initially
This commit is contained in:
parent
e7650492f2
commit
a121ee51bf
|
@ -9,9 +9,10 @@ class @IssuableContext
|
||||||
$(".issuable-sidebar .inline-update").on "change", ".js-assignee", ->
|
$(".issuable-sidebar .inline-update").on "change", ".js-assignee", ->
|
||||||
$(this).submit()
|
$(this).submit()
|
||||||
|
|
||||||
$(document).on "click",".edit-link", (e) ->
|
$(document).off("click", ".edit-link").on "click",".edit-link", (e) ->
|
||||||
$block = $(@).parents('.block')
|
$block = $(@).parents('.block')
|
||||||
$selectbox = $block.find('.selectbox')
|
$selectbox = $block.find('.selectbox')
|
||||||
|
console.log 'selectbox visible???', $selectbox.is(':visible')
|
||||||
if $selectbox.is(':visible')
|
if $selectbox.is(':visible')
|
||||||
$selectbox.hide()
|
$selectbox.hide()
|
||||||
$block.find('.value').show()
|
$block.find('.value').show()
|
||||||
|
|
Loading…
Reference in New Issue