Fixes #3242 - Reporting does not update ticket list when the ticket count is the same (frontend cache bug).
This commit is contained in:
parent
b9755a4956
commit
87d55bdfed
1 changed files with 4 additions and 4 deletions
|
@ -117,11 +117,11 @@ class Graph extends App.ControllerContent
|
|||
dataNew[key] = value
|
||||
@ui.storeParams()
|
||||
|
||||
if !@lastNewData
|
||||
@lastNewData = {}
|
||||
if !@lastParams
|
||||
@lastParams = {}
|
||||
|
||||
return if @lastNewData && JSON.stringify(dataNew) is JSON.stringify(@lastNewData)
|
||||
@lastNewData = dataNew
|
||||
return if @lastParams && JSON.stringify(@params) is JSON.stringify(@lastParams)
|
||||
@lastParams = $.extend(true, {}, @params)
|
||||
|
||||
@draw(dataNew)
|
||||
t = new Date
|
||||
|
|
Loading…
Reference in a new issue