CC-3541: Missing show title from "Show Content" pop-up

-fixed
This commit is contained in:
Martin Konecny 2012-04-05 15:49:58 -04:00
parent 16ebd2951f
commit ef6c496ba3
2 changed files with 3 additions and 2 deletions

View File

@ -429,6 +429,7 @@ class ScheduleController extends Zend_Controller_Action
$this->view->percentFilled = $show->getPercentScheduled();
$this->view->showContent = $show->getShowListContent();
$this->view->dialog = $this->view->render('schedule/show-content-dialog.phtml');
$this->view->showTitle = $show->getName();
unset($this->view->showContent);
}

View File

@ -176,7 +176,7 @@ function buildContentDialog (json){
dialog.dialog({
autoOpen: false,
title: 'Show Contents',
title: "Contents of Show \"" + json.showTitle + "\"",
width: width,
height: height,
modal: true,
@ -422,4 +422,4 @@ $(document).ready(function() {
};
}
});
});
});