CSS and display fixes

This commit is contained in:
Duncan Sommerville 2015-11-16 12:07:53 -05:00
parent 610d860d6a
commit 08f5aa51a6
6 changed files with 28 additions and 6 deletions

View file

@ -41,7 +41,7 @@ var AIRTIME = (function (AIRTIME) {
$http.put(endpoint + $scope.podcast.id, {csrf_token: $scope.csrf, podcast: $scope.podcast})
.success(function () {
AIRTIME.library.podcastDataTable.fnDraw();
tab || tab.close();
!tab || tab.close();
});
};
@ -49,7 +49,7 @@ var AIRTIME = (function (AIRTIME) {
* Close the tab and discard any changes made to the podcast data.
*/
$scope.discard = function () {
tab || tab.close();
!tab || tab.close();
$scope.podcast = {};
};