CC-3548: Schedule: Separate repeate show template and single instance on 'When' section

-in progress
This commit is contained in:
Martin Konecny 2012-04-05 14:45:16 -04:00
parent cf2813a545
commit 8050a1ce29
3 changed files with 33 additions and 10 deletions

View file

@ -320,8 +320,10 @@ function setAddShowEvents() {
message: null,
applyPlatformOpacityRules: false
});
var action = "/Schedule/"+addShowButton.attr("data-type");
$.post("/Schedule/add-show", {format: "json", data: data, hosts: hosts, days: days}, function(json){
$.post(action, {format: "json", data: data, hosts: hosts, days: days}, function(json){
//addShowButton.removeClass("disabled");
$('#schedule-add-show').unblock();
if(json.form) {