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
|
dataNew[key] = value
|
||||||
@ui.storeParams()
|
@ui.storeParams()
|
||||||
|
|
||||||
if !@lastNewData
|
if !@lastParams
|
||||||
@lastNewData = {}
|
@lastParams = {}
|
||||||
|
|
||||||
return if @lastNewData && JSON.stringify(dataNew) is JSON.stringify(@lastNewData)
|
return if @lastParams && JSON.stringify(@params) is JSON.stringify(@lastParams)
|
||||||
@lastNewData = dataNew
|
@lastParams = $.extend(true, {}, @params)
|
||||||
|
|
||||||
@draw(dataNew)
|
@draw(dataNew)
|
||||||
t = new Date
|
t = new Date
|
||||||
|
|
Loading…
Reference in a new issue