From 126662b5e2d77c0d28a4783dc624cd13276681b1 Mon Sep 17 00:00:00 2001 From: suelockwood Date: Wed, 18 Sep 2013 16:13:06 -0400 Subject: Added clear:true to the notification for when a document doesn't exist so that it overwrites the generic error messaging --- src/fauxton/app/modules/documents/views.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/fauxton/app/modules/documents/views.js b/src/fauxton/app/modules/documents/views.js index d66c6da7c..09ef2b5a1 100644 --- a/src/fauxton/app/modules/documents/views.js +++ b/src/fauxton/app/modules/documents/views.js @@ -656,7 +656,8 @@ function(app, FauxtonAPI, Components, Documents, pouchdb, Codemirror, JSHint, re if (xhr.status === 404) { FauxtonAPI.addNotification({ msg: 'The document does not exist', - type: 'error' + type: 'error', + clear: true }); FauxtonAPI.navigate('/database/' + databaseId + '/_all_docs?limit=20'); } -- cgit v1.2.1