forked from extern/egroupware
Fix missing onclick
This commit is contained in:
parent
ea7ad6318d
commit
86a356314b
@ -56,9 +56,9 @@ var et2_button = et2_baseWidget.extend(et2_IInput, {
|
|||||||
|
|
||||||
click: function() {
|
click: function() {
|
||||||
// Execute the JS code connected to the event handler
|
// Execute the JS code connected to the event handler
|
||||||
if (this.onclick)
|
if (this.options.onclick)
|
||||||
{
|
{
|
||||||
if (!this.onclick())
|
if (!this.options.onclick())
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user