From: Sven Schöling Date: Thu, 20 Oct 2016 09:46:16 +0000 (+0200) Subject: ActionBar: ComboBox doppel dropdown gefixt X-Git-Tag: release-3.5.4~1396 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=3879b1fa99d914256e86ebfab8bc7118e3de2e06;p=kivitendo-erp.git ActionBar: ComboBox doppel dropdown gefixt --- 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(); });