Fixed rerender issue with missing content.
This commit is contained in:
parent
68278ca828
commit
00e06396ab
1 changed files with 3 additions and 4 deletions
|
@ -7,14 +7,13 @@ class App.DashboardFirstSteps extends App.Controller
|
||||||
|
|
||||||
constructor: ->
|
constructor: ->
|
||||||
super
|
super
|
||||||
@interval(@load, 25000)
|
@interval(@load, 20000)
|
||||||
|
|
||||||
load: =>
|
load: =>
|
||||||
return if @lastData && !@el.is(':visible')
|
return if @lastData && !@el.is(':visible')
|
||||||
@ajax(
|
@ajax(
|
||||||
id: 'first_steps'
|
type: 'GET'
|
||||||
type: 'GET'
|
url: @apiPath + '/first_steps'
|
||||||
url: @apiPath + '/first_steps'
|
|
||||||
success: (data) =>
|
success: (data) =>
|
||||||
return if _.isEqual(@lastData, data)
|
return if _.isEqual(@lastData, data)
|
||||||
@lastData = data
|
@lastData = data
|
||||||
|
|
Loading…
Reference in a new issue