Do not cancel ajax call if widget is removed/closed.

This commit is contained in:
Martin Edenhofer 2016-03-03 17:42:19 +01:00
parent 7e99983d2d
commit d9cfcbbd34
2 changed files with 2 additions and 1 deletions

View file

@ -8,7 +8,7 @@ class Index extends App.Controller
new App.FirstStepsClues(
el: @el
onComplete: =>
@ajax(
App.Ajax.request(
id: 'preferences'
type: 'PUT'
url: @apiPath + '/users/preferences'

View file

@ -1626,6 +1626,7 @@ wait untill text in selector disabppears
text = instance.find_elements(css: '.content.active .js-reset')[0].text
if !text || text.empty?
screenshot(browser: instance, comment: 'ticket_update_ok')
sleep 1
return true
end
rescue