CC-4303: Library Tab grays out after certain scenario with normal playlist
-fixed
This commit is contained in:
parent
35a5e38aca
commit
8d1003bbbe
|
@ -447,7 +447,7 @@ class PlaylistController extends Zend_Controller_Action
|
|||
} catch (PlaylistOutDatedException $e) {
|
||||
$this->playlistOutdated($e);
|
||||
} catch (PlaylistNotFoundException $e) {
|
||||
$this->playlistNotFound($type);
|
||||
$this->playlistNotFound($type, true);
|
||||
} catch (Exception $e) {
|
||||
$this->playlistUnknownError($e);
|
||||
}
|
||||
|
|
|
@ -632,6 +632,10 @@ var AIRTIME = (function(AIRTIME){
|
|||
{format: "json", data: criteria, name: block_name, description: block_desc, obj_id: obj_id, type: obj_type, modified: lastMod},
|
||||
function(data){
|
||||
var json = $.parseJSON(data);
|
||||
if (json.error !== undefined) {
|
||||
alert(json.error);
|
||||
}
|
||||
AIRTIME.playlist.fnOpenPlaylist(json);
|
||||
setModified(json.modified);
|
||||
if (obj_type == "block") {
|
||||
callback(data, "save");
|
||||
|
|
Loading…
Reference in New Issue