@@ -74,7 +74,7 @@ j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
diff --git a/airtime_mvc/public/css/station_podcast.css b/airtime_mvc/public/css/station_podcast.css
index a8b66924e..54b828d5d 100644
--- a/airtime_mvc/public/css/station_podcast.css
+++ b/airtime_mvc/public/css/station_podcast.css
@@ -13,6 +13,10 @@
margin: 0;
}
+#station_podcast .inner_editor_title button {
+ margin: 0 0 0 4px;
+}
+
#station_podcast .collapsible-header {
margin: 0 0 20px;
top: 20px;
diff --git a/airtime_mvc/public/js/airtime/library/library.js b/airtime_mvc/public/js/airtime/library/library.js
index b2bc13168..e30b45295 100644
--- a/airtime_mvc/public/js/airtime/library/library.js
+++ b/airtime_mvc/public/js/airtime/library/library.js
@@ -1301,8 +1301,8 @@ var AIRTIME = (function(AIRTIME) {
}
var dt = $datatables[table],
wrapper = $(dt).closest(".dataTables_wrapper");
- if (oTable && typeof oTable.fnClearTable === 'function') {
- oTable.fnClearTable(false);
+ if (dt && typeof dt.fnClearTable === 'function') {
+ dt.fnClearTable(false);
}
// Don't redraw if we're switching to another hash for the library table
$.when(redraw ? dt.fnDraw() : function () {}).done(function () {
@@ -1386,6 +1386,7 @@ var AIRTIME = (function(AIRTIME) {
});
var openPodcastEpisodeTable = function (podcast) {
+ $("#library_filter").append(" - " + podcast.title);
mod.podcastEpisodeTableWidget.reload(podcast.id);
mod.podcastTableWidget.clearSelection();
mod.setCurrentTable(mod.DataTableTypeEnum.PODCAST_EPISODES);
@@ -1427,7 +1428,6 @@ var AIRTIME = (function(AIRTIME) {
// in the left-hand pane.
mod.podcastTableWidget.assignDblClickHandler(function () {
var podcast = mod.podcastDataTable.fnGetData(this);
- $("#library_filter").append(" - " + $(this).find(".library_title").text());
openPodcastEpisodeTable(podcast);
});
diff --git a/airtime_mvc/public/js/airtime/library/podcast.js b/airtime_mvc/public/js/airtime/library/podcast.js
index 03c4b244a..1a01e777c 100644
--- a/airtime_mvc/public/js/airtime/library/podcast.js
+++ b/airtime_mvc/public/js/airtime/library/podcast.js
@@ -516,6 +516,8 @@ var AIRTIME = (function (AIRTIME) {
remainingDiskSpace -= this.enclosure.length;
});
+
+ dt.clearSelection();
};
/**