From c38203ba635610e619c05aab3ca87bbdf1b27749 Mon Sep 17 00:00:00 2001 From: Pablo Vazquez Date: Wed, 14 Jun 2017 18:23:16 +0200 Subject: [PATCH] item_open: use toastr notification when failing --- src/scripts/tutti/10_tasks.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scripts/tutti/10_tasks.js b/src/scripts/tutti/10_tasks.js index f56b715..8c6b705 100644 --- a/src/scripts/tutti/10_tasks.js +++ b/src/scripts/tutti/10_tasks.js @@ -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);