Revision 412f76c9
Von Moritz Bunkus vor etwa 7 Jahren hinzugefügt
js/kivi.ActionBar.js | ||
---|---|---|
129 | 129 |
$(e).tooltipster({ content: data.tooltip, theme: 'tooltipster-light' }); |
130 | 130 |
} |
131 | 131 |
|
132 |
if (data.call || data.submit) { |
|
132 |
if (data.call || data.submit || data.link) {
|
|
133 | 133 |
$(e).click(function(event) { |
134 | 134 |
var $hidden, key, func, check; |
135 | 135 |
if ($(e).hasClass(CLASSES.disabled)) { |
... | ... | |
160 | 160 |
} |
161 | 161 |
$(form).submit(); |
162 | 162 |
} |
163 |
if (data.link) { |
|
164 |
window.location.href = data.link; |
|
165 |
} |
|
163 | 166 |
}); |
164 | 167 |
} |
165 | 168 |
}; |
Auch abrufbar als: Unified diff
ActionBar: normale Link-Elemente nun doch als DIVs rendern & als Buttons stylen