Track template with extra info; Context menu to get to tracks

This commit is contained in:
James Barnsley
2017-10-10 11:50:29 +13:00
parent a793830d8d
commit 0ca37b0f62
9 changed files with 187 additions and 13 deletions

View File

@ -59,7 +59,7 @@ const CoreMiddleware = (function(){
}
);
if (action.data.xhr){
if (action.data.xhr && action.data.xhr.responseText){
var xhr_response = JSON.parse(action.data.xhr.responseText);
if (xhr_response.error && xhr_response.error.message){
message = message+'<p class="description">'+xhr_response.error.message+'</p>';