mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-17 12:01:20 +02:00
add this.form.submit() to legacy functions and use regular nextmatch filter-change, if onchange="this.form.submit()" is set, some more changes etemplate_new --> etemplate
This commit is contained in:
@ -77,6 +77,11 @@
|
||||
_val = _val.replace(/^xajax_doXMLHTTP\('etemplate\.([a-z]+_widget\.[a-zA-Z0-9_]+)\'/,
|
||||
"xajax_doXMLHTTP('"+egw.getAppName()+".$1.etemplate'");
|
||||
}
|
||||
|
||||
if (_val.indexOf('this.form.submit()') != -1)
|
||||
{
|
||||
_val = _val.replace('this.form.submit()','widget.getInstanceManager().submit()');
|
||||
}
|
||||
return _val;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user