mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-10 00:37:54 +02:00
changed signature of on* event handlers: 1. event, 2. widget (context is DOM node), event handlers have now type "js" in attribute description and get automatic converted to a function, no more need to call et2_compileLegacyJS
This commit is contained in:
@ -403,7 +403,7 @@
|
||||
}
|
||||
|
||||
var val = et2_checkType(_value, this.attributes[_name].type,
|
||||
_name);
|
||||
_name, this);
|
||||
|
||||
if (typeof this["set_" + _name] == "function")
|
||||
{
|
||||
@ -438,7 +438,7 @@
|
||||
if (!this.attributes[key].ignore)
|
||||
{
|
||||
_attrs[key] = et2_checkType(_attrs[key], this.attributes[key].type,
|
||||
key);
|
||||
key, this);
|
||||
}
|
||||
}
|
||||
else
|
||||
|
Reference in New Issue
Block a user