add missing scope.$apply in pdf viewer event handlers

shows up now there are no apply's coming from the unsaved file check
This commit is contained in:
Brian Gough 2015-01-22 17:01:55 +00:00
parent 994b307e3f
commit 1160560bfb

View file

@ -307,7 +307,7 @@ define [
element.innerWidth()
]
scope.$emit 'flash-controls'
#scope.$apply()
scope.$apply()
scope.$on 'layout:main:resize', () ->
# console.log 'GOT LAYOUT-MAIN-RESIZE EVENT'
@ -324,7 +324,7 @@ define [
element.innerHeight(),
element.innerWidth()
]
#scope.$apply()
scope.$apply()
scope.$on 'pdf:error', (event, error) ->
return if error == 'cancelled'