Przeglądaj źródła

Allow setting rescan interval to 0 (fixes #856)

Audrius Butkevicius 11 lat temu
rodzic
commit
3daa26e1f7
2 zmienionych plików z 2 dodań i 2 usunięć
  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>

Plik diff jest za duży
+ 0 - 0
internal/auto/gui.files.go


Niektóre pliki nie zostały wyświetlone z powodu dużej ilości zmienionych plików