Merge branch 'devel' of dev.sourcefabric.org:airtime into devel
This commit is contained in:
commit
8ea3aca3a0
2 changed files with 6 additions and 1 deletions
|
@ -52,6 +52,9 @@ class ListenerstatController extends Zend_Controller_Action
|
||||||
$out = array();
|
$out = array();
|
||||||
foreach ($errorStatus as $v) {
|
foreach ($errorStatus as $v) {
|
||||||
$key = explode('_listener_stat_error', $v['keyname']);
|
$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'];
|
$out[$key[0]] = $v['value'];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -41,10 +41,12 @@ var AIRTIME = (function(AIRTIME){
|
||||||
|
|
||||||
mod.updateCalendarStatusIcon = function(json) {
|
mod.updateCalendarStatusIcon = function(json) {
|
||||||
|
|
||||||
if (window.location.pathname.toLowerCase() != "/schedule") {
|
|
||||||
|
if (window.location.pathname.toLowerCase() != baseUrl+"/schedule") {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
var instance_id = json.schedule[0].instance;
|
var instance_id = json.schedule[0].instance;
|
||||||
|
|
||||||
var lastElem = json.schedule[json.schedule.length-1];
|
var lastElem = json.schedule[json.schedule.length-1];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue