Dismiss preview when opening in new window
authorThierry Florac <thierry.florac@onf.fr>
Fri, 23 Nov 2018 09:23:38 +0100
changeset 1109 fa671427ce7c
parent 1108 fe6bd06975f3
child 1110 b368b0b2c5d2
Dismiss preview when opening in new window
src/pyams_content/features/preview/zmi/templates/preview.pt
--- a/src/pyams_content/features/preview/zmi/templates/preview.pt	Tue Nov 20 09:10:49 2018 +0100
+++ b/src/pyams_content/features/preview/zmi/templates/preview.pt	Fri Nov 23 09:23:38 2018 +0100
@@ -16,7 +16,7 @@
 				<h3 class="modal-title"
 					tal:define="config tales:configuration;">
 					<span class="title" tal:content="structure view.title | context.title | config.title">Title</span>
-					<a class="hint"
+					<a class="hint" data-dismiss="modal"
 					   href="${preview_url}" target="_blank"
 					   title="Open in new window" i18n:attributes="title">
 						<i class="fa fa-fw fa-window-maximize"></i>