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:
Ralf Becker
2013-10-09 14:35:03 +00:00
parent 71c2a554bd
commit 0163442f37
15 changed files with 133 additions and 127 deletions

View File

@ -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