Fix bug where 'Add' dialog appends to the dom multiple times

This commit is contained in:
Duncan Sommerville 2015-11-12 15:42:41 -05:00
parent 5a573d3d9e
commit 0e74229975
2 changed files with 6 additions and 1 deletions

View file

@ -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
},