summaryrefslogtreecommitdiff
path: root/roundcubemail/program/js
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2010-11-08 13:52:39 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2010-11-08 13:52:39 +0000
commit4e6c9c277f46e439fdf14b58b5c85e88eec96637 (patch)
treee407fd33ea271544bad0e6046e03dbfc618a311e /roundcubemail/program/js
parent921469cc3994537b2b287edfec9d0ba7689b53bf (diff)
- Changed timeout so non-error messages will disapear faster
git-svn-id: https://svn.roundcube.net/trunk@4196 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/js')
-rw-r--r--roundcubemail/program/js/app.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/roundcubemail/program/js/app.js b/roundcubemail/program/js/app.js
index b57c4470f..842a3cd22 100644
--- a/roundcubemail/program/js/app.js
+++ b/roundcubemail/program/js/app.js
@@ -37,7 +37,7 @@ function rcube_webmail()
// webmail client settings
this.dblclick_time = 500;
- this.message_time = 3000;
+ this.message_time = 1500;
this.identifier_expr = new RegExp('[^0-9a-z\-_]', 'gi');
@@ -4630,8 +4630,9 @@ function rcube_webmail()
return id;
}
else {
- obj.appendTo(cont).bind('mousedown', function(){ return ref.hide_message(obj); });
- window.setTimeout(function(){ ref.hide_message(obj, true); }, this.message_time);
+ obj.appendTo(cont).bind('mousedown', function() { return ref.hide_message(obj); });
+ window.setTimeout(function() { ref.hide_message(obj, true); },
+ this.message_time * (type == 'error' ? 2 : 1));
return obj;
}
};