item_open: use toastr notification when failing
This commit is contained in:
@@ -78,7 +78,7 @@ function item_open(item_id, item_type, pushState, project_url)
|
||||
.removeClass('processing')
|
||||
}
|
||||
|
||||
statusBarSet('error', 'Failed to open ' + item_type, 'pi-warning');
|
||||
toastr.error('Failed to open ' + item_type);
|
||||
|
||||
if (xhr.status) {
|
||||
$('#item-details').html(xhr.responseText);
|
||||
|
Reference in New Issue
Block a user