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:
@@ -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)
|
||||
==================
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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);
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user