From 6699a68da187285bc2ea1571d4ffa970f2075bd6 Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Wed, 14 Mar 2012 10:30:41 -0400
Subject: [PATCH] - Fix bug where it wasn't possible to enter ( or & characters in autocomplete fields

---
 program/js/app.js |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/program/js/app.js b/program/js/app.js
index 3b2a148..40cca70 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -3628,9 +3628,9 @@
       mod = rcube_event.get_modifier(e);
 
     switch (key) {
-      case 38:  // key up
-      case 40:  // key down
-        if (!this.ksearch_pane)
+      case 38:  // arrow up
+      case 40:  // arrow down
+        if (!this.ksearch_visible())
           break;
 
         var dir = key==38 ? 1 : 0;

--
Gitblit v1.9.1