mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
ENHANCEMENT Showing statusMessages via LeftAndMain.js->statusMessage() double as long - they we're dissappearing in a fraction of a second for short strings like "Error"
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@72977 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
d0ec64ee0e
commit
5b0cf968f0
@ -461,7 +461,7 @@ function statusMessage(msg, type, clearManually, container) {
|
||||
if(container != null) statusMessageEl = container;
|
||||
if(statusMessageEl) {
|
||||
if(msg) {
|
||||
statusMessageEl.showMessage(msg, type, msg.length / 20, clearManually);
|
||||
statusMessageEl.showMessage(msg, type, msg.length / 10, clearManually);
|
||||
} else {
|
||||
statusMessageEl.clearMessage();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user