소스 검색

Minor bug fix for rememeber refresh interval after zooming two or more times, Fixes #1408

Torkel Ödegaard 11 년 전
부모
커밋
6b6b97c8d8
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/app/features/dashboard/timeSrv.js

+ 1 - 1
src/app/features/dashboard/timeSrv.js

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