 
   loadResponse: (response) ->
     @view.loadHTML(response)
-    @locationLoaded = true
+    @responseLoaded = true
     @notifyApplicationOfPageChange()
 
   # Current request

  # Page snapshots

  saveSnapshot: ->
    if @locationLoaded
      snapshot = @view.saveSnapshot()
      @cache.put(@location, snapshot)



  locationChangedByActor: (location, actor) ->
    @saveSnapshot()
    @responseLoaded = false
    @location = location
    @adapter.locationChangedByActor(location, actor)

