CC-4961: Show linking

Refactored services
Removed ShowDaysService and ShowInstanceService
Combined all show actions into one ShowService
This commit is contained in:
denise 2013-03-21 10:05:11 -04:00
parent bae9f1202a
commit a7601d290f
10 changed files with 1308 additions and 1206 deletions

View file

@ -387,14 +387,14 @@ $(document).ready(function() {
//edit this instance and all
callback = function() {
$.get(edit.all.url, {format: "json", id: data.id, type: "all"}, function(json){
$.get(edit.all.url, {format: "json", showId: data.showId, instanceId: data.id, type: "all"}, function(json){
beginEditShow(json);
});
};
edit.all.callback = callback;
}else{
callback = function() {
$.get(oItems.edit.url, {format: "json", id: data.id, type: oItems.edit._type}, function(json){
$.get(oItems.edit.url, {format: "json", showId: data.showId, instanceId: data.id, type: oItems.edit._type}, function(json){
beginEditShow(json);
});
};