1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-16 19:44:09 +02:00

#3131 - Finally get rid of autocomplete when we don't want it

This commit is contained in:
Tijn Kuyper
2019-10-30 15:46:59 +01:00
parent 6ab3f53b6c
commit 93d86dd99c
3 changed files with 3 additions and 3 deletions

View File

@@ -773,7 +773,7 @@ class page_admin_ui extends e_admin_ui
$this->fields['page_template']['writeParms'] = $this->templates;
$this->fields['menu_template']['writeParms'] = e107::getLayouts('', 'menu', 'front', '', true, false);
$this->fields['menu_name']['writeParms'] = array('pattern'=>'^[a-z0-9-]*');
$this->fields['menu_name']['writeParms'] = array('pattern'=>'^[a-z0-9-]*', 'autocomplete' => 'disabled');
$tmp = e107::getLayouts('', 'chapter', 'front', '', true, false);