summaryrefslogtreecommitdiff
path: root/src/fauxton/app/modules/documents/views.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/fauxton/app/modules/documents/views.js')
-rw-r--r--src/fauxton/app/modules/documents/views.js3
1 files changed, 2 insertions, 1 deletions
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');
}