Replaced autocomplete="off" directive with autocomplete="none" for Chrome compatibility
authortflorac@dagon.home
Sun, 09 Sep 2018 11:22:34 +0200
changeset 89 f14df6ce1324
parent 88 48b30fd5a29e
child 90 f80eec0f148e
Replaced autocomplete="off" directive with autocomplete="none" for Chrome compatibility
src/pyams_thesaurus/zmi/templates/terms-tree.pt
src/pyams_thesaurus/zmi/widget/templates/term-display.pt
src/pyams_thesaurus/zmi/widget/templates/term-input.pt
src/pyams_thesaurus/zmi/widget/templates/terms-list-display.pt
src/pyams_thesaurus/zmi/widget/templates/terms-list-input.pt
src/pyams_thesaurus/zmi/widget/templates/terms-list-selector-input.pt
--- a/src/pyams_thesaurus/zmi/templates/terms-tree.pt	Wed Sep 05 08:55:12 2018 +0200
+++ b/src/pyams_thesaurus/zmi/templates/terms-tree.pt	Sun Sep 09 11:22:34 2018 +0200
@@ -21,7 +21,7 @@
 		<div class="ams-form pull-right margin-bottom-5">
 			<label class="input bordered">
 				<div class="select2-parent">
-					<input type="hidden" autocomplete="off"
+					<input type="hidden" autocomplete="none"
 						class="select2" name="terms-tree-search"
 						data-ams-select2-placeholder="Search term..."
 						data-ams-select2-minimum-input-length="2"
--- a/src/pyams_thesaurus/zmi/widget/templates/term-display.pt	Wed Sep 05 08:55:12 2018 +0200
+++ b/src/pyams_thesaurus/zmi/widget/templates/term-display.pt	Sun Sep 09 11:22:34 2018 +0200
@@ -1,4 +1,4 @@
-<input type="hidden" autocomplete="off" readonly
+<input type="hidden" autocomplete="none" readonly
 	tal:attributes="id view/id;
 					name view/name;
 					class string:select2 ${view/klass};
--- a/src/pyams_thesaurus/zmi/widget/templates/term-input.pt	Wed Sep 05 08:55:12 2018 +0200
+++ b/src/pyams_thesaurus/zmi/widget/templates/term-input.pt	Sun Sep 09 11:22:34 2018 +0200
@@ -8,7 +8,7 @@
 		tal:attributes="data-ams-select2-target view/name"></i>
 	<div class="select2-parent"
 		 tal:omit-tag="view/required">
-		<input type="hidden" autocomplete="off"
+		<input type="hidden" autocomplete="none"
 			data-ams-select2-minimum-input-length="2"
 			data-ams-select2-allow-clear="true"
 			data-ams-select2-multiple="true"
--- a/src/pyams_thesaurus/zmi/widget/templates/terms-list-display.pt	Wed Sep 05 08:55:12 2018 +0200
+++ b/src/pyams_thesaurus/zmi/widget/templates/terms-list-display.pt	Sun Sep 09 11:22:34 2018 +0200
@@ -1,4 +1,4 @@
-<input type="hidden" autocomplete="off" readonly
+<input type="hidden" autocomplete="none" readonly
 	data-ams-select2-multiple="true"
 	data-ams-select2-separator="|"
 	tal:attributes="id view/id;
--- a/src/pyams_thesaurus/zmi/widget/templates/terms-list-input.pt	Wed Sep 05 08:55:12 2018 +0200
+++ b/src/pyams_thesaurus/zmi/widget/templates/terms-list-input.pt	Sun Sep 09 11:22:34 2018 +0200
@@ -8,7 +8,7 @@
 		tal:attributes="data-ams-select2-target view/name"></i>
 	<div class="select2-parent"
 		 tal:omit-tag="view/required">
-		<input type="hidden" autocomplete="off"
+		<input type="hidden" autocomplete="none"
 			data-ams-select2-minimum-input-length="2"
 			data-ams-select2-allow-clear="true"
 			data-ams-select2-multiple="true"
--- a/src/pyams_thesaurus/zmi/widget/templates/terms-list-selector-input.pt	Wed Sep 05 08:55:12 2018 +0200
+++ b/src/pyams_thesaurus/zmi/widget/templates/terms-list-selector-input.pt	Sun Sep 09 11:22:34 2018 +0200
@@ -11,7 +11,7 @@
 		data-toggle="modal"
 		tal:attributes="data-ams-select2-target view/name"></i>
 	<div class="select2-parent">
-		<input type="hidden" autocomplete="off"
+		<input type="hidden" autocomplete="none"
 			data-ams-select2-minimum-input-length="2"
 			data-ams-select2-allow-clear="true"
 			data-ams-select2-multiple="true"