CC-3561: Add button to automatically rescan watched folders.
-done
This commit is contained in:
parent
dbd6b7444b
commit
295a8ea5fe
4 changed files with 25 additions and 0 deletions
|
@ -77,6 +77,10 @@ function setWatchedDirEvents() {
|
|||
setWatchedDirEvents();
|
||||
});
|
||||
});
|
||||
|
||||
$('#watchedFolder-rescan').click(function(){
|
||||
$.get("/Preference/rescan-watch-directory", {format: "json"});
|
||||
});
|
||||
|
||||
$('.selected-item').find('.ui-icon-close').click(function(){
|
||||
if(confirm("Are you sure you want to remove the watched folder?")){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue