sintonia/airtime_mvc/public/js/contextmenu/AirtimeChanges
James b04b7ff010 CC-2848: Misc bugs from demo service
- Handling concurrency issue playlist section and show(canlendar) section
2011-11-10 15:35:27 -05:00

13 lines
No EOL
502 B
Text

* jjmenu library file has to be modified in order to handle some error cases.
* see line 87 in jjemenu.js. Following code was added:
/* jjmenu doesn't provide ability to add callback function
in case of error. So the error handling has to be included in
the library itself */
if(data.show_error == true){
alert("The show doesn't exist anymore!");
window.location.reload();
}else if(data.playlist_error == true){
alert("The playlist doesn't exist anymore!");
window.location.reload();
}