mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 23:00:56 +01:00
Fix toolbar dropdown actions set label
This commit is contained in:
parent
f384ac50a7
commit
e1b9b43f6c
@ -253,6 +253,7 @@ var et2_toolbar = et2_DOMWidget.extend([et2_IInput],
|
||||
dropdown.onchange = jQuery.proxy(function(selected, dropdown)
|
||||
{
|
||||
var action = that._actionManager.getActionById(selected.attr('data-id'));
|
||||
dropdown.set_label(action.caption);
|
||||
if(action)
|
||||
{
|
||||
this.value = action.id;
|
||||
|
Loading…
Reference in New Issue
Block a user