Improved ticket_update. Remove clickCatcher on do_not_submit.

This commit is contained in:
Martin Edenhofer 2015-10-08 17:25:19 +02:00
parent e10f672649
commit eb75b79c69

View file

@ -1240,6 +1240,10 @@ wait untill text in selector disabppears
instance.execute_script( "$('.content.active div[data-name=body]').html('#{body_quoted}').trigger('focusout')" ) instance.execute_script( "$('.content.active div[data-name=body]').html('#{body_quoted}').trigger('focusout')" )
end end
# click on click catcher
if params[:do_not_submit]
click( browser: instance, css: '.clickCatcher')
end
end end
if data[:group] if data[:group]