From 5b0cf968f0082611b28f8704f17034d2fe5a6a0b Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Thu, 12 Mar 2009 16:39:25 +0000 Subject: [PATCH] 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 --- javascript/LeftAndMain.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/javascript/LeftAndMain.js b/javascript/LeftAndMain.js index 9fcfed11..d7daa023 100644 --- a/javascript/LeftAndMain.js +++ b/javascript/LeftAndMain.js @@ -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(); }