mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-13 01:08:50 +00:00
Monotone-Parent: 60ff31486171dacd0f25947a3a9ab21c993ad138
Monotone-Revision: a49b4023ef2ea7a4f4040725d21123c9d0858bbf Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2012-04-18T20:04:23
This commit is contained in:
@@ -1943,8 +1943,9 @@ function createButton(id, caption, action) {
|
||||
var span = createElement("span", null, null, null, null, newButton);
|
||||
span.appendChild(document.createTextNode(caption));
|
||||
}
|
||||
if (action)
|
||||
newButton.on("click", action);
|
||||
if (action) {
|
||||
newButton.on("click", clickEventWrapper(action));
|
||||
}
|
||||
|
||||
return newButton;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user