Fixed IE9 issues.

This commit is contained in:
Martin Edenhofer 2013-06-23 23:57:50 +02:00
parent ac9e71c4f2
commit ac692bbd18
2 changed files with 4 additions and 4 deletions

View file

@ -222,7 +222,6 @@ class _taskManagerSingleton extends App.Controller
worker.release() worker.release()
@workersStarted[ key ] = false @workersStarted[ key ] = false
@taskDestroy(task) @taskDestroy(task)
App.Event.trigger 'task:render'
notify: ( key ) => notify: ( key ) =>
task = @get( key ) task = @get( key )
@ -262,8 +261,10 @@ class _taskManagerSingleton extends App.Controller
taskDestroy: (task) -> taskDestroy: (task) ->
@clearDelay( task.id, 'taskbar' ) @clearDelay( task.id, 'taskbar' )
task.destroy() task.destroy(
App.Event.trigger 'task:render' success: ->
App.Event.trigger 'task:render'
)
tasksInitial: => tasksInitial: =>
# reopen tasks # reopen tasks

View file

@ -225,7 +225,6 @@ class TestCase < Test::Unit::TestCase
instance.navigate.refresh instance.navigate.refresh
elsif action[:execute] == 'js' elsif action[:execute] == 'js'
result = instance.execute_script( action[:value] ) result = instance.execute_script( action[:value] )
puts "JS RESULT" + result.inspect
elsif action[:link] elsif action[:link]
if action[:link].match '###stack###' if action[:link].match '###stack###'
action[:link].gsub! '###stack###', @stack action[:link].gsub! '###stack###', @stack