mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-25 01:46:14 -04:00
passing the ToolbarItem to the callback
This commit is contained in:
parent
0c52fb5e30
commit
602380abb7
2 changed files with 16 additions and 8 deletions
|
@ -138,10 +138,10 @@ _.extend(SelectButton.prototype, Button.prototype, {
|
|||
render: function () {
|
||||
var attributes = {
|
||||
id: this.attributes.id,
|
||||
"data-key": "",
|
||||
"data-key": this.attributes.command,
|
||||
"data-type": "select"
|
||||
};
|
||||
return this.li(attributes,
|
||||
return tag("li", attributes,
|
||||
this.select({ id: this.attributes.selectId })
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue