SAAS-1195 - fix calendar error; use baseurl in all internal links; css tweaks

This commit is contained in:
Duncan Sommerville 2015-11-17 16:39:29 -05:00
parent ef1a57459c
commit f2fae3c67e
6 changed files with 11 additions and 8 deletions

View file

@ -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 () {
@ -1489,6 +1489,7 @@ var AIRTIME = (function(AIRTIME) {
click: function () {
var episodes = mod.podcastEpisodeTableWidget.getSelectedRows();
AIRTIME.podcast.importSelectedEpisodes(episodes, mod.podcastEpisodeTableWidget);
mod.podcastEpisodeTableWidget.clearSelection();
}
},
validateConstraints: function () {