alecpl
2010-11-08 ec211b759241d9e1bbd21fad502e023c90719d9e
- Changed timeout so non-error messages will disapear faster


1 files modified
7 ■■■■■ changed files
program/js/app.js 7 ●●●●● patch | view | raw | blame | history
program/js/app.js
@@ -37,7 +37,7 @@
  // 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 @@
      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;
    }
  };