give buttons in toolbar an individual id based on toolbar-id and action-id

This commit is contained in:
Ralf Becker 2014-01-06 16:45:54 +00:00
parent 880fc68bc9
commit 3156da0619

View File

@ -158,6 +158,7 @@ var et2_toolbar = et2_DOMWidget.extend(
};
var button = $j(document.createElement('button'))
.addClass("et2_button")
.attr('id', this.id+'-'+action.id)
.appendTo(this.div);
if(action.iconUrl)
{