ソースを参照

Allow setting rescan interval to 0 (fixes #856)

Audrius Butkevicius 11 年 前
コミット
3daa26e1f7
2 ファイル変更2 行追加2 行削除
  1. 2 2
      gui/index.html
  2. 0 0
      internal/auto/gui.files.go

+ 2 - 2
gui/index.html

@@ -466,9 +466,9 @@
                 </div>
                 <div class="form-group" ng-class="{'has-error': folderEditor.rescanIntervalS.$invalid && folderEditor.rescanIntervalS.$dirty}">
                   <label for="rescanIntervalS"><span translate>Rescan Interval</span> (s)</label>
-                  <input name="rescanIntervalS" id="rescanIntervalS" class="form-control" type="number" ng-model="currentFolder.RescanIntervalS" required min="5"></input>
+                  <input name="rescanIntervalS" id="rescanIntervalS" class="form-control" type="number" ng-model="currentFolder.RescanIntervalS" required min="0"></input>
                   <p class="help-block">
-                    <span translate ng-if="!folderEditor.rescanIntervalS.$valid && folderEditor.rescanIntervalS.$dirty">The rescan interval must be at least 5 seconds.</span>
+                    <span translate ng-if="!folderEditor.rescanIntervalS.$valid && folderEditor.rescanIntervalS.$dirty">The rescan interval must be a non-negative number of seconds.</span>
                   </p>
                 </div>
               </div>

ファイルの差分が大きいため隠しています
+ 0 - 0
internal/auto/gui.files.go


この差分においてかなりの量のファイルが変更されているため、一部のファイルを表示していません