|
@@ -93,7 +93,7 @@ define([
|
|
|
_.extend(this.time, time);
|
|
_.extend(this.time, time);
|
|
|
|
|
|
|
|
// disable refresh if we have an absolute time
|
|
// disable refresh if we have an absolute time
|
|
|
- if (time.to !== 'now') {
|
|
|
|
|
|
|
+ if (time.to && time.to.indexOf('now') === -1) {
|
|
|
this.old_refresh = this.dashboard.refresh || this.old_refresh;
|
|
this.old_refresh = this.dashboard.refresh || this.old_refresh;
|
|
|
this.set_interval(false);
|
|
this.set_interval(false);
|
|
|
}
|
|
}
|