From 3879b1fa99d914256e86ebfab8bc7118e3de2e06 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Thu, 20 Oct 2016 11:46:16 +0200 Subject: [PATCH] ActionBar: ComboBox doppel dropdown gefixt --- js/kivi.ActionBar.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/js/kivi.ActionBar.js b/js/kivi.ActionBar.js index 1c883edb7..940f2f99e 100644 --- a/js/kivi.ActionBar.js +++ b/js/kivi.ActionBar.js @@ -16,10 +16,12 @@ namespace('kivi', function(k){ this.list = e.childNodes[0]; this.init(); } + k.ActionBarCombobox.prototype = { init: function() { var obj = this; $(obj.toggle).on('click', function(event){ + $('div.' + CLASSES.combobox + '[id!=' + obj.combobox.id + ']').removeClass(CLASSES.active); $(obj.combobox).toggleClass(CLASSES.active); event.stopPropagation(); }); -- 2.20.1