Remove processing status when loading a task fails
This commit is contained in:
@@ -74,6 +74,8 @@ function item_open(item_id, item_type, pushState, project_url)
|
|||||||
if (console) {
|
if (console) {
|
||||||
console.log('Error fetching task', item_id, 'from', item_url);
|
console.log('Error fetching task', item_id, 'from', item_url);
|
||||||
console.log('XHR:', xhr);
|
console.log('XHR:', xhr);
|
||||||
|
current_item
|
||||||
|
.removeClass('processing')
|
||||||
}
|
}
|
||||||
|
|
||||||
statusBarSet('error', 'Failed to open ' + item_type, 'pi-warning');
|
statusBarSet('error', 'Failed to open ' + item_type, 'pi-warning');
|
||||||
|
Reference in New Issue
Block a user