CC-3687 : Remove context menus from recorded shows since they are blank.

This commit is contained in:
Naomi Aro 2012-05-07 15:24:06 +02:00
parent 1cc84c1c85
commit a79514c8ee
2 changed files with 12 additions and 3 deletions

View file

@ -936,7 +936,7 @@ var AIRTIME = (function(AIRTIME){
//begin context menu initialization.
$.contextMenu({
selector: '.sb-content table tbody tr:not(.sb-empty, .sb-footer, .sb-header) td:not(.sb-checkbox, .sb-image)',
selector: '.sb-content table tbody tr:not(.sb-empty, .sb-footer, .sb-header, .sb-record) td:not(.sb-checkbox, .sb-image)',
trigger: "left",
ignoreRightClick: true,
@ -1023,10 +1023,11 @@ var AIRTIME = (function(AIRTIME){
processMenuItems(json.items);
}
});
return {
return {
items: items
};
}
});
};