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

This commit is contained in:
Naomi Aro 2012-05-07 17:48:56 +02:00
parent a79514c8ee
commit df4cdfb07e
3 changed files with 20 additions and 6 deletions

View file

@ -354,6 +354,15 @@ $(document).ready(function() {
oItems.cancel_recorded.callback = callback;
}
//define a view recorded callback.
if (oItems.view_recorded !== undefined) {
callback = function() {
document.location.href = oItems.view_recorded.url;
};
oItems.view_recorded.callback = callback;
}
//define a cancel callback.
if (oItems.cancel !== undefined) {