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:
6d9d1fb
)
ActionBar: Tooltips für Deaktivierung überschreibt normalen Tooltip
author
Moritz Bunkus
<m.bunkus@linet-services.de>
Fri, 13 Jan 2017 14:49:06 +0000
(15:49 +0100)
committer
Moritz Bunkus
<m.bunkus@linet-services.de>
Tue, 28 Feb 2017 09:44:00 +0000
(10:44 +0100)
js/kivi.ActionBar.js
patch
|
blob
|
history
diff --git
a/js/kivi.ActionBar.js
b/js/kivi.ActionBar.js
index
e6a8477
..
d732783
100644
(file)
--- a/
js/kivi.ActionBar.js
+++ b/
js/kivi.ActionBar.js
@@
-110,9
+110,9
@@
namespace('kivi', function(k){
var data = $(e).data('action');
if (undefined === data) return;
- if (data.disabled) {
+ if (data.disabled
&& (data.disabled != '0')
) {
$(e).addClass(CLASSES.disabled);
- if (
!data.tooltip && (data.disabled != '1')
)
+ if (
data.disabled != '1'
)
data.tooltip = data.disabled;
}