Merge branch 'devel' of dev.sourcefabric.org:airtime into devel

This commit is contained in:
denise 2013-01-14 14:07:55 -05:00
commit 8ea3aca3a0
2 changed files with 6 additions and 1 deletions

View File

@ -52,6 +52,9 @@ class ListenerstatController extends Zend_Controller_Action
$out = array();
foreach ($errorStatus as $v) {
$key = explode('_listener_stat_error', $v['keyname']);
if ($v['value'] != 'OK') {
$v['value'] = _("Please make sure admin user/password is correct on System->Streams page.");
}
$out[$key[0]] = $v['value'];
}

View File

@ -41,10 +41,12 @@ var AIRTIME = (function(AIRTIME){
mod.updateCalendarStatusIcon = function(json) {
if (window.location.pathname.toLowerCase() != "/schedule") {
if (window.location.pathname.toLowerCase() != baseUrl+"/schedule") {
return;
}
var instance_id = json.schedule[0].instance;
var lastElem = json.schedule[json.schedule.length-1];