From 8935587a5957ddccaf931ec3725d1cbd06674efe Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <alec@alec.pl>
Date: Wed, 27 Apr 2016 04:14:47 -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 3b401b3..a9f5ebf 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -4,6 +4,7 @@
 - Enigma: Added enigma_debug option
 - Fix message list multi-select/deselect issue (#5219)
 - Fix bug where getting HTML editor content could steal focus from other form controls (#5223)
+- Fix bug where contact search menu fields where always unchecked in Larry skin
 
 RELEASE 1.2-rc
 --------------
diff --git a/skins/larry/ui.js b/skins/larry/ui.js
index 2377cb4..121b3e4 100644
--- a/skins/larry/ui.js
+++ b/skins/larry/ui.js
@@ -305,7 +305,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