We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8f720ff + 4cc2422 commit 0c9dd18Copy full SHA for 0c9dd18
laboratory/resources/web/laboratory/button/IconButton.js
@@ -7,12 +7,11 @@ Ext4.define('Laboratory.button.IconButton', {
7
8
renderTpl: [
9
'<div id="{id}-wrap" class="tool-icon">',
10
- '<a style="display: block" ' +
+ '<a style="display: block;cursor: pointer;" ' +
11
'<tpl if="href">href="{href}"</tpl>' +
12
- '<tpl if="!href">href="javascript:void(0)"</tpl>' +
13
'<tpl if="tooltip"> data-qtip="{tooltip}"</tpl>' +
14
'>' +
15
- '<tpl if="icon"><div><img id="{id}-btnIconEl" src="{icon}"/ ></div></tpl>' +
+ '<tpl if="icon"><div><img alt="{text}" id="{id}-btnIconEl" src="{icon}"/ ></div></tpl>' +
16
'{text}</a>',
17
'</div>'
18
],
0 commit comments