* 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:
parent
c0d8b8b39c
commit
22f8b0f328
16 changed files with 102 additions and 72 deletions
|
@ -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();
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue