projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f37da9
)
ActionBar: ComboBox doppel dropdown gefixt
author
Sven Schöling
<s.schoeling@linet-services.de>
Thu, 20 Oct 2016 09:46:16 +0000
(11:46 +0200)
committer
Moritz Bunkus
<m.bunkus@linet-services.de>
Tue, 28 Feb 2017 09:04:33 +0000
(10:04 +0100)
js/kivi.ActionBar.js
patch
|
blob
|
history
diff --git
a/js/kivi.ActionBar.js
b/js/kivi.ActionBar.js
index
1c883ed
..
940f2f9
100644
(file)
--- 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();
});