From: x2003bruneau Date: Mon, 16 Apr 2007 21:32:24 +0000 (+0000) Subject: Slower Ajax notification & typo X-Git-Tag: xorg/0.9.14~78 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;ds=sidebyside;h=311bc3ad57fea21b4463a6d8fa96737b2ec0d3c1;p=platal.git Slower Ajax notification & typo git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@1712 839d8a87-29fc-0310-9880-83ba4fa771e5 --- diff --git a/htdocs/javascript/ajax.js b/htdocs/javascript/ajax.js index fbef752..84a10ad 100644 --- a/htdocs/javascript/ajax.js +++ b/htdocs/javascript/ajax.js @@ -101,9 +101,9 @@ function _showTempMessage(id, state, back) if (currentTempMessage != state) { return; } - setOpacity(obj, back * 5); + setOpacity(obj, back * 4); if (back > 0) { - setTimeout("_showTempMessage('" + id + "', " + currentTempMessage + "," + (back-1) + ")", 100); + setTimeout("_showTempMessage('" + id + "', " + currentTempMessage + "," + (back-1) + ")", 125); } else { obj.innerHTML = ""; } @@ -118,7 +118,7 @@ function showTempMessage(id, message, success) obj.style.color = (success ? "green" : "red");; currentTempMessage++; setOpacity(obj, 100); - setTimeout("_showTempMessage('" + id + "', " + currentTempMessage + ", 20)", 700); + setTimeout("_showTempMessage('" + id + "', " + currentTempMessage + ", 25)", 1000); } function previewWiki(idFrom, idTo, withTitle, idShow) diff --git a/templates/emails/redirect.tpl b/templates/emails/redirect.tpl index c4888ed..811220b 100644 --- a/templates/emails/redirect.tpl +++ b/templates/emails/redirect.tpl @@ -78,7 +78,7 @@ {literal} function redirectUpdate() { - showTempMessage('redirect-msg', "Tes redirections ont été mise à jour.", true); + showTempMessage('redirect-msg', "Tes redirections ont été mises à jour.", true); } {/literal} //]]>