* SAAS-1153 - more work on station podcast frontend. Add delete and edit button functionality for episode table

* Various fixes and backend updates
* Move station podcast creation to id getter in Preferences
This commit is contained in:
Duncan Sommerville 2015-11-03 16:23:17 -05:00
parent c0d8b8b39c
commit 22f8b0f328
16 changed files with 102 additions and 72 deletions

View file

@ -1051,11 +1051,12 @@ var AIRTIME = (function(AIRTIME){
});
newTab.contents.find(".md-publish").on("click", function() {
AIRTIME.publish.publishTrack(fileId);
AIRTIME.publish.openPublishDialog(fileId);
});
newTab.wrapper.find('.edit-md-dialog').on("keyup", function(event) {
if (event.keyCode === 13) {
// Don't submit if the user hits enter in a textarea (description)
if ($(event.target).is('input') && event.keyCode === 13) {
newTab.wrapper.find('.md-save').click();
}
});