diff --git a/airtime_mvc/application/views/scripts/form/preferences_watched_dirs.phtml b/airtime_mvc/application/views/scripts/form/preferences_watched_dirs.phtml index 4195bce75..ca6704678 100644 --- a/airtime_mvc/application/views/scripts/form/preferences_watched_dirs.phtml +++ b/airtime_mvc/application/views/scripts/form/preferences_watched_dirs.phtml @@ -34,15 +34,18 @@ -
+ 0): ?> - getDirectory(); ?> +
+ getDirectory(); ?> +
- You are not watching any music folders. +
+ You are not watching any music folders. +
- diff --git a/airtime_mvc/public/js/airtime/preferences/musicdirs.js b/airtime_mvc/public/js/airtime/preferences/musicdirs.js index 18b5a5283..47df6d58a 100644 --- a/airtime_mvc/public/js/airtime/preferences/musicdirs.js +++ b/airtime_mvc/public/js/airtime/preferences/musicdirs.js @@ -16,7 +16,7 @@ function setWatchedDirEvents() { systemImageUrl: 'img/browser/', handlerUrl: '/Preference/server-browse/format/json', title: 'Choose Storage Folder', - basePath: '/home', + basePath: '', requestMethod: 'POST', }); @@ -36,7 +36,7 @@ function setWatchedDirEvents() { systemImageUrl: 'img/browser/', handlerUrl: '/Preference/server-browse/format/json', title: 'Choose Folder to Watch', - basePath: '/home', + basePath: '', requestMethod: 'POST', }); @@ -72,7 +72,7 @@ function setWatchedDirEvents() { }); }); - $('#watchedFolder-table').find('.ui-icon-close').click(function(){ + $('.selected-item').find('.ui-icon-close').click(function(){ var row = $(this).parent(); var folder = $(this).prev().text();