If onchange property was '1', do a full post

This commit is contained in:
Nathan Gray 2012-05-08 20:27:02 +00:00
parent 2beaed766c
commit 42ab2c046d

View File

@ -93,7 +93,8 @@
// Check whether _code is simply "1" -- if yes replace it accordingly
if (_code === '1')
{
_code = 'return true;';
_code = 'widget.getInstanceManager().postSubmit(); return true;';
egw().debug("warn", "Widget uses 1 as JS. Full submit used instead, but this should be changed", _widget, _context);
}
// Check whether some pseudo-variables still reside inside of the code,