Replaced autocomplete="off" directive with autocomplete="none" for Chrome compatibility
authortflorac@dagon.home
Sun, 09 Sep 2018 11:19:41 +0200
changeset 140 514204acf4dd
parent 139 bd09de21fa0b
child 141 8a5e91854574
Replaced autocomplete="off" directive with autocomplete="none" for Chrome compatibility
src/pyams_security/widget/templates/permission-display.pt
src/pyams_security/widget/templates/permissions-set-display.pt
src/pyams_security/widget/templates/permissions-set-input.pt
src/pyams_security/widget/templates/principal-display.pt
src/pyams_security/widget/templates/principal-input.pt
src/pyams_security/widget/templates/principals-set-display.pt
src/pyams_security/widget/templates/principals-set-input.pt
--- a/src/pyams_security/widget/templates/permission-display.pt	Fri Jul 20 12:53:18 2018 +0200
+++ b/src/pyams_security/widget/templates/permission-display.pt	Sun Sep 09 11:19:41 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_security/widget/templates/permissions-set-display.pt	Fri Jul 20 12:53:18 2018 +0200
+++ b/src/pyams_security/widget/templates/permissions-set-display.pt	Sun Sep 09 11:19:41 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_security/widget/templates/permissions-set-input.pt	Fri Jul 20 12:53:18 2018 +0200
+++ b/src/pyams_security/widget/templates/permissions-set-input.pt	Sun Sep 09 11:19:41 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" class="select2"
+		<input type="hidden" autocomplete="none" class="select2"
 				data-ams-select2-placeholder="Select permissions..."
 				data-ams-select2-allow-clear="true"
 				data-ams-select2-multiple="true"
--- a/src/pyams_security/widget/templates/principal-display.pt	Fri Jul 20 12:53:18 2018 +0200
+++ b/src/pyams_security/widget/templates/principal-display.pt	Sun Sep 09 11:19:41 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_security/widget/templates/principal-input.pt	Fri Jul 20 12:53:18 2018 +0200
+++ b/src/pyams_security/widget/templates/principal-input.pt	Sun Sep 09 11:19:41 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-query-url="find-principals.json"
--- a/src/pyams_security/widget/templates/principals-set-display.pt	Fri Jul 20 12:53:18 2018 +0200
+++ b/src/pyams_security/widget/templates/principals-set-display.pt	Sun Sep 09 11:19:41 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_security/widget/templates/principals-set-input.pt	Fri Jul 20 12:53:18 2018 +0200
+++ b/src/pyams_security/widget/templates/principals-set-input.pt	Sun Sep 09 11:19:41 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"