Make error messages persistent and increase the timeout of warning to 10 seconds.

Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
Roberto Rosario
2018-04-06 02:10:11 -04:00
parent 1f059dbb5d
commit 7fe5f22770
3 changed files with 8 additions and 1 deletions

View File

@@ -142,7 +142,8 @@
the solution.
- Removing running workflow instances in document of a specific type if
that document type is removed from the workflow.
- Make error messages persistent and increase the timeout of warning to 10 seconds.
2.7.3 (2017-09-11)
==================

View File

@@ -435,6 +435,7 @@ Other changes worth mentioning
- Fix issue when using workflows transitions with the new version
upload event as trigger. Thanks to Sema @Miggaten for the find and
the solution.
- Make error messages persistent and increase the timeout of warning to 10 seconds.
Removals

View File

@@ -163,9 +163,14 @@ App.prototype.doToastrMessages = function () {
var options = {};
if (value.tags === 'error') {
// Error messages persist
options['timeOut'] = 0;
}
if (value.tags === 'warning') {
// Error messages persist
options['timeOut'] = 10000;
}
toastr[value.tags](value.message, '', options);
});
}