CC-2907: Stream player window gets a 404 when clicked

from "Stream settings" page

-fixed
This commit is contained in:
martin 2011-09-30 14:46:09 -04:00
parent 1bdcff1119
commit 20c2405f20
2 changed files with 2 additions and 2 deletions

View File

@ -66,7 +66,7 @@ class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
$view->headScript()->appendFile($baseUrl.'/js/libs/jquery.stickyPanel.js','text/javascript');
$view->headScript()->appendFile($baseUrl.'/js/qtip/jquery.qtip2.min.js','text/javascript');
$view->headScript()->appendFile($baseUrl.'/js/jplayer/jquery.jplayer.min.js');
$view->headScript()->appendScript("var baseUrl='$baseUrl/'");
//scripts for now playing bar
$view->headScript()->appendFile($baseUrl.'/js/airtime/dashboard/helperfunctions.js','text/javascript');

View File

@ -262,7 +262,7 @@ function init() {
$('#on-air-info').click(function() {
if (stream_window == null || stream_window.closed)
stream_window=window.open("/Dashboard/stream-player", 'name', 'width=400,height=216');
stream_window=window.open(baseUrl+"Dashboard/stream-player", 'name', 'width=400,height=216');
stream_window.focus();
return false;
});