mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-28 09:38:53 +01:00
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() {
|
||||
// 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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user