CC-1665: Scheduled stream rebroadcasting and recording
-make sure webstream length is properly updated in browser view after editing
This commit is contained in:
parent
1aa73c7347
commit
cad0a8fbd7
|
@ -150,6 +150,7 @@ class WebstreamController extends Zend_Controller_Action
|
|||
|
||||
$this->view->statusMessage = "<div class='success'>Webstream saved.</div>";
|
||||
$this->view->streamId = $streamId;
|
||||
$this->view->length = $di->format("%Hh %Im");
|
||||
} else {
|
||||
throw new Exception("isValid returned false");
|
||||
}
|
||||
|
|
|
@ -602,6 +602,10 @@ var AIRTIME = (function(AIRTIME){
|
|||
var $ws_id = $("#ws_delete");
|
||||
$ws_id.show();
|
||||
|
||||
|
||||
var length = $("#side_playlist #ws_length");
|
||||
length.text(json.length);
|
||||
|
||||
//redraw the library to show the new webstream
|
||||
redrawLib();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue