forked from extern/egroupware
If widget fails validation during submit check, scroll it into view
This commit is contained in:
parent
8da8c14a00
commit
0424836ba8
@ -1099,6 +1099,11 @@ export class etemplate2
|
||||
{
|
||||
(<Et2Tabs><unknown>tmpWidget).activateTab(invalid_widgets[0]);
|
||||
}
|
||||
// scroll the widget into view
|
||||
if(typeof widget.scrollIntoView === 'function')
|
||||
{
|
||||
widget.scrollIntoView();
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user