Disable dropdown toolbar buttons when empty
issue6193 review31031002
This commit is contained in:
+2
-1
@@ -399,7 +399,8 @@
|
||||
'aria-expanded': false,
|
||||
'aria-haspopup': true,
|
||||
'title': menu_action[2],
|
||||
'id': menu_action[0]
|
||||
'id': menu_action[0],
|
||||
'disabled': !toolbars[menu_action[0]].length
|
||||
})
|
||||
.append(jQuery('<span/>', {
|
||||
'class': 'glyphicon ' + menu_action[1],
|
||||
|
||||
Reference in New Issue
Block a user