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: ->
|
||||
super
|
||||
@interval(@load, 25000)
|
||||
@interval(@load, 20000)
|
||||
|
||||
load: =>
|
||||
return if @lastData && !@el.is(':visible')
|
||||
@ajax(
|
||||
id: 'first_steps'
|
||||
type: 'GET'
|
||||
url: @apiPath + '/first_steps'
|
||||
type: 'GET'
|
||||
url: @apiPath + '/first_steps'
|
||||
success: (data) =>
|
||||
return if _.isEqual(@lastData, data)
|
||||
@lastData = data
|
||||
|
|
Loading…
Reference in a new issue