CC-4093: Timeline -> Alert for deleting track(s) appears twice by clicking

context menu

- fixed
This commit is contained in:
James 2012-07-10 13:08:36 -04:00
parent aecee0574d
commit 78acd4f805

View file

@ -1136,13 +1136,11 @@ var AIRTIME = (function(AIRTIME){
if (oItems.del !== undefined) { if (oItems.del !== undefined) {
callback = function() { callback = function() {
if (confirm("Delete selected item?")) {
AIRTIME.showbuilder.fnRemove([{ AIRTIME.showbuilder.fnRemove([{
id: data.id, id: data.id,
timestamp: data.timestamp, timestamp: data.timestamp,
instance: data.instance instance: data.instance
}]); }]);
}
}; };
oItems.del.callback = callback; oItems.del.callback = callback;