From 877b911dc4c6d0bbeb18a32bbd10f3669007c0fd Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <alec@alec.pl>
Date: Wed, 27 Apr 2016 04:16:38 -0400
Subject: [PATCH] Fix bug where contact search menu fields where always unchecked in Larry skin

---
 CHANGELOG         |    1 +
 skins/larry/ui.js |    4 +++-
 2 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/CHANGELOG b/CHANGELOG
index 3aaffec..4d7719a 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -2,6 +2,7 @@
 ===========================
 
 - Fix message list multi-select/deselect issue (#5219)
+- Fix bug where contact search menu fields where always unchecked in Larry skin
 
 RELEASE 1.1.5
 -------------
diff --git a/skins/larry/ui.js b/skins/larry/ui.js
index 78b9caf..5ecf139 100644
--- a/skins/larry/ui.js
+++ b/skins/larry/ui.js
@@ -298,7 +298,9 @@
     else if (rcmail.env.task == 'addressbook') {
       rcmail.addEventListener('afterupload-photo', show_uploadform)
         .addEventListener('beforepushgroup', push_contactgroup)
-        .addEventListener('beforepopgroup', pop_contactgroup);
+        .addEventListener('beforepopgroup', pop_contactgroup)
+        .addEventListener('menu-open', menu_toggle)
+        .addEventListener('menu-close', menu_toggle);
 
       if (rcmail.env.action == '') {
         new rcube_splitter({ id:'addressviewsplitterd', p1:'#addressview-left', p2:'#addressview-right',

--
Gitblit v1.9.1