diff --git a/Duplicati/Server/webroot/scripts/editdialog.js b/Duplicati/Server/webroot/scripts/editdialog.js index 72cf8efa2..2e79c5aa0 100644 --- a/Duplicati/Server/webroot/scripts/editdialog.js +++ b/Duplicati/Server/webroot/scripts/editdialog.js @@ -86,6 +86,13 @@ $(document).ready(function() { 'edit-tab-sourcedata': function(tabindex) { + if ($('#source-folder-paths').find('.source-folder').length == 0) { + $('#edit-dialog').tabs( "option", "active", tabindex); + $('#source-folder-paths').focus(); + alert('You must select at least one source folder to back up'); + return false; + } + return true; },