mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-19 04:46:42 +02:00
Attempt of fixing legacy JavaScript functions, only tested for simple cases
This commit is contained in:
@@ -41,7 +41,7 @@ var et2_inputWidget = et2_valueWidget.extend(et2_IInput, {
|
||||
},
|
||||
"onchange": {
|
||||
"name": "onchange",
|
||||
"type": "js",
|
||||
"type": "string",
|
||||
"description": "JS code which is executed when the value changes."
|
||||
},
|
||||
"validation_error": {
|
||||
@@ -113,7 +113,7 @@ var et2_inputWidget = et2_valueWidget.extend(et2_IInput, {
|
||||
change: function(_node) {
|
||||
if (this.onchange)
|
||||
{
|
||||
return this.onchange.apply(_node);
|
||||
return this.onchange(_node);
|
||||
}
|
||||
},
|
||||
|
||||
|
Reference in New Issue
Block a user