Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
1651 Lượt xem

I copied the Odoo login form which locate in the login page and I pasted it inside the homepage using HTML and CSS editor, it is working correctly but when I access my homepage it is automatically scrolls to the login form and I don't want that.

Is this related to the controller or the form?

Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

Solved.

It was an html thing, there was an autofocus attribute on the email input in the form.

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 7 25
53787
0
thg 12 17
3921
1
thg 6 15
6824
1
thg 12 24
1377
1
thg 8 22
4189