Fix bug where 'Add' dialog appends to the dom multiple times
This commit is contained in:
parent
5a573d3d9e
commit
0e74229975
2 changed files with 6 additions and 1 deletions
|
@ -1361,6 +1361,8 @@ var AIRTIME = (function(AIRTIME) {
|
|||
});
|
||||
$.extend(true, podcastToolbarButtons[AIRTIME.widgets.Table.TOOLBAR_BUTTON_ROLES.EDIT],
|
||||
{
|
||||
title: $.i18n._('Settings'),
|
||||
iconClass : "icon-cog",
|
||||
eventHandlers: {
|
||||
click: AIRTIME.podcast.editSelectedPodcasts
|
||||
},
|
||||
|
|
|
@ -443,7 +443,10 @@ var AIRTIME = (function (AIRTIME) {
|
|||
resizable: false,
|
||||
modal: true,
|
||||
width: '450px',
|
||||
height: 129
|
||||
height: 129,
|
||||
close: function () {
|
||||
$(this).remove();
|
||||
}
|
||||
});
|
||||
});
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue