[otrs-cvs] FAQ/Kernel/Output/HTML/Standard CustomerFAQZoom.dtl, 1.34, 1.35 AgentFAQZoom.dtl, 1.39, 1.40 AgentFAQZoomSmall.dtl, 1.15, 1.16 PublicFAQZoom.dtl, 1.31, 1.32

"CVS commits notifications of OTRS.org" <[email protected]>
Newsgroups gmane.comp.otrs.cvs
Message-ID <[email protected]>
Comments:
Update of /home/cvs/FAQ/Kernel/Output/HTML/Standard
In directory lancelot:/tmp/cvs-serv15127/Kernel/Output/HTML/Standard

Modified Files:
	CustomerFAQZoom.dtl AgentFAQZoom.dtl AgentFAQZoomSmall.dtl 
	PublicFAQZoom.dtl 
Log Message:
Fixed bug#9214 - IE10: impossible to open links from rich text articles.

Author: mb

Index: CustomerFAQZoom.dtl
===================================================================
RCS file: /home/cvs/FAQ/Kernel/Output/HTML/Standard/CustomerFAQZoom.dtl,v
retrieving revision 1.34
retrieving revision 1.35
diff -2 -u -d -r1.34 -r1.35
--- CustomerFAQZoom.dtl	20 Nov 2012 13:08:05 -0000	1.34
+++ CustomerFAQZoom.dtl	2 Mar 2013 19:44:09 -0000	1.35
@@ -1,5 +1,5 @@
 # --
 # CustomerFAQZoom.dtl - provides HTML for CustomerFAQZoom.pm
-# Copyright (C) 2001-2012 OTRS AG, http://otrs.org/
+# Copyright (C) 2001-2013 OTRS AG, http://otrs.org/
 # --
 # $Id$
@@ -83,5 +83,6 @@
 # Use the HTML5 sandbox attribute to prevent plugins and scripts from being executed in the browser.
 # Use IE's (non-standard) security attribute to achieve something similar in older IE browsers. Append session info to URL because IE will not send cookies.
-                    <iframe sandbox="allow-same-origin" security="restricted" class="FAQField" id="IframeFAQ$QData{"Field"}" onload="if (typeof FAQ === 'object' && typeof FAQ.Customer === 'object' && typeof FAQ.Customer.FAQZoom === 'object') { FAQ.Customer.FAQZoom.IframeAutoHeight($('#IframeFAQ$QData{"Field"}')); };" src="#" data-src="$Env{"Baselink"}Action=CustomerFAQZoom;Subaction=HTMLView;ItemID=$QData{"ItemID"};Field=$QData{"Field"};$QEnv{"SessionName"}=$QEnv{"SessionID"}"></iframe>
+# Set 'allow-popups' to allow IE10+ to open links. ref: http://www.w3.org/html/wg/wiki/ChangeProposals/sandbox_allow_popups
+                    <iframe sandbox="allow-same-origin allow-popups" security="restricted" class="FAQField" id="IframeFAQ$QData{"Field"}" onload="if (typeof FAQ === 'object' && typeof FAQ.Customer === 'object' && typeof FAQ.Customer.FAQZoom === 'object') { FAQ.Customer.FAQZoom.IframeAutoHeight($('#IframeFAQ$QData{"Field"}')); };" src="#" data-src="$Env{"Baselink"}Action=CustomerFAQZoom;Subaction=HTMLView;ItemID=$QData{"ItemID"};Field=$QData{"Field"};$QEnv{"SessionName"}=$QEnv{"SessionID"}"></iframe>
                 </div>
 <!-- dtl:block:FAQContentHTML -->
@@ -91,5 +92,5 @@
     Core.Config.Set('FAQ::Frontend::CustomerHTMLFieldHeightMax', parseInt("$Config{"FAQ::Frontend::CustomerHTMLFieldHeightMax"}" || 0, 10));
 
-    // copy data-src attribute to src attribute for all iframes to correclty display its content after JS is fully loaded
+    // copy data-src attribute to src attribute for all iframes to correctly display its contents after JS is fully loaded
     $('iframe').each(function(){
         $(this).attr("src", $(this).attr("data-src") );

Author: mb

Index: AgentFAQZoom.dtl
===================================================================
RCS file: /home/cvs/FAQ/Kernel/Output/HTML/Standard/AgentFAQZoom.dtl,v
retrieving revision 1.39
retrieving revision 1.40
diff -2 -u -d -r1.39 -r1.40
--- AgentFAQZoom.dtl	2 Jan 2013 11:12:48 -0000	1.39
+++ AgentFAQZoom.dtl	2 Mar 2013 19:44:09 -0000	1.40
@@ -201,5 +201,6 @@
 # Use the HTML5 sandbox attribute to prevent plugins and scripts from being executed in the browser.
 # Use IE's (non-standard) security attribute to achieve something similar in older IE browsers. Append session info to URL because IE will not send cookies.
-                            <iframe sandbox="allow-same-origin" security="restricted" class="FAQField" id="IframeFAQ$QData{"Field"}" onload="if (typeof FAQ === 'object' && typeof FAQ.Agent === 'object' && typeof FAQ.Agent.FAQZoom === 'object') { FAQ.Agent.FAQZoom.IframeAutoHeight($('#IframeFAQ$QData{"Field"}')); };" src="#" data-src="$Env{"Baselink"}Action=AgentFAQZoom;Subaction=HTMLView;ItemID=$QData{"ItemID"};Field=$QData{"Field"};$QEnv{"SessionName"}=$QEnv{"SessionID"}"></iframe>
+# Set 'allow-popups' to allow IE10+ to open links. ref: http://www.w3.org/html/wg/wiki/ChangeProposals/sandbox_allow_popups
+                            <iframe sandbox="allow-same-origin allow-popups" security="restricted" class="FAQField" id="IframeFAQ$QData{"Field"}" onload="if (typeof FAQ === 'object' && typeof FAQ.Agent === 'object' && typeof FAQ.Agent.FAQZoom === 'object') { FAQ.Agent.FAQZoom.IframeAutoHeight($('#IframeFAQ$QData{"Field"}')); };" src="#" data-src="$Env{"Baselink"}Action=AgentFAQZoom;Subaction=HTMLView;ItemID=$QData{"ItemID"};Field=$QData{"Field"};$QEnv{"SessionName"}=$QEnv{"SessionID"}"></iframe>
                         </div>
 <!-- dtl:block:FAQContentHTML -->
@@ -210,5 +211,5 @@
     Core.Config.Set('FAQ::Frontend::AgentHTMLFieldHeightMax', parseInt("$Config{"FAQ::Frontend::AgentHTMLFieldHeightMax"}" || 0, 10));
 
-    // copy data-src attribute to src attribute for all iframes to correclty display its content after JS is fully loaded
+    // copy data-src attribute to src attribute for all iframes to correctly display its contents after JS is fully loaded
     $('iframe').each(function(){
         $(this).attr("src", $(this).attr("data-src") );

Author: mb

Index: AgentFAQZoomSmall.dtl
===================================================================
RCS file: /home/cvs/FAQ/Kernel/Output/HTML/Standard/AgentFAQZoomSmall.dtl,v
retrieving revision 1.15
retrieving revision 1.16
diff -2 -u -d -r1.15 -r1.16
--- AgentFAQZoomSmall.dtl	2 Jan 2013 11:12:48 -0000	1.15
+++ AgentFAQZoomSmall.dtl	2 Mar 2013 19:44:09 -0000	1.16
@@ -124,5 +124,6 @@
 # Use the HTML5 sandbox attribute to prevent plugins and scripts from being executed in the browser.
 # Use IE's (non-standard) security attribute to achieve something similar in older IE browsers. Append session info to URL because IE will not send cookies.
-                            <iframe sandbox="allow-same-origin" security="restricted" class="FAQField" id="IframeFAQ$QData{"Field"}" onload="if (typeof FAQ === 'object' && typeof FAQ.Agent === 'object' && typeof FAQ.Agent.FAQZoom === 'object') { FAQ.Agent.FAQZoom.IframeAutoHeight($('#IframeFAQ$QData{"Field"}')); };" src="#" data-src="$Env{"Baselink"}Action=AgentFAQZoom;Subaction=HTMLView;ItemID=$QData{"ItemID"};Field=$QData{"Field"};$QEnv{"SessionName"}=$QEnv{"SessionID"}"></iframe>
+# Set 'allow-popups' to allow IE10+ to open links. ref: http://www.w3.org/html/wg/wiki/ChangeProposals/sandbox_allow_popups
+                            <iframe sandbox="allow-same-origin allow-popups" security="restricted" class="FAQField" id="IframeFAQ$QData{"Field"}" onload="if (typeof FAQ === 'object' && typeof FAQ.Agent === 'object' && typeof FAQ.Agent.FAQZoom === 'object') { FAQ.Agent.FAQZoom.IframeAutoHeight($('#IframeFAQ$QData{"Field"}')); };" src="#" data-src="$Env{"Baselink"}Action=AgentFAQZoom;Subaction=HTMLView;ItemID=$QData{"ItemID"};Field=$QData{"Field"};$QEnv{"SessionName"}=$QEnv{"SessionID"}"></iframe>
                         </div>
 <!-- dtl:block:FAQContentHTML -->
@@ -133,5 +134,5 @@
     Core.Config.Set('FAQ::Frontend::AgentHTMLFieldHeightMax', parseInt("$Config{"FAQ::Frontend::AgentHTMLFieldHeightMax"}" || 0, 10));
 
-    // copy data-src attribute to src attribute for all iframes to correclty display its content after JS is fully loaded
+    // copy data-src attribute to src attribute for all iframes to correctly display its contents after JS is fully loaded
     $('iframe').each(function(){
         $(this).attr("src", $(this).attr("data-src") );

Author: mb

Index: PublicFAQZoom.dtl
===================================================================
RCS file: /home/cvs/FAQ/Kernel/Output/HTML/Standard/PublicFAQZoom.dtl,v
retrieving revision 1.31
retrieving revision 1.32
diff -2 -u -d -r1.31 -r1.32
--- PublicFAQZoom.dtl	20 Nov 2012 13:08:26 -0000	1.31
+++ PublicFAQZoom.dtl	2 Mar 2013 19:44:09 -0000	1.32
@@ -1,5 +1,5 @@
 # --
 # PublicFAQZoom.dtl - provides HTML for PublicFAQZoom.pm
-# Copyright (C) 2001-2012 OTRS AG, http://otrs.org/
+# Copyright (C) 2001-2013 OTRS AG, http://otrs.org/
 # --
 # $Id$
@@ -83,5 +83,6 @@
 # Use the HTML5 sandbox attribute to prevent plugins and scripts from being executed in the browser.
 # Use IE's (non-standard) security attribute to achieve something similar in older IE browsers. Append session info to URL because IE will not send cookies.
-                    <iframe sandbox="allow-same-origin" security="restricted" class="FAQField" id="IframeFAQ$QData{"Field"}" onload="if (typeof FAQ === 'object' && typeof FAQ.Customer === 'object' && typeof FAQ.Customer.FAQZoom === 'object') { FAQ.Customer.FAQZoom.IframeAutoHeight($('#IframeFAQ$QData{"Field"}')); };" src="#" data-src="$Env{"Baselink"}Action=PublicFAQZoom;Subaction=HTMLView;ItemID=$QData{"ItemID"};Field=$QData{"Field"};"></iframe>
+# Set 'allow-popups' to allow IE10+ to open links. ref: http://www.w3.org/html/wg/wiki/ChangeProposals/sandbox_allow_popups
+                    <iframe sandbox="allow-same-origin allow-popups" security="restricted" class="FAQField" id="IframeFAQ$QData{"Field"}" onload="if (typeof FAQ === 'object' && typeof FAQ.Customer === 'object' && typeof FAQ.Customer.FAQZoom === 'object') { FAQ.Customer.FAQZoom.IframeAutoHeight($('#IframeFAQ$QData{"Field"}')); };" src="#" data-src="$Env{"Baselink"}Action=PublicFAQZoom;Subaction=HTMLView;ItemID=$QData{"ItemID"};Field=$QData{"Field"};"></iframe>
                 </div>
 <!-- dtl:block:FAQContentHTML -->
@@ -91,5 +92,5 @@
     Core.Config.Set('FAQ::Frontend::CustomerHTMLFieldHeightMax', parseInt("$Config{"FAQ::Frontend::CustomerHTMLFieldHeightMax"}" || 0, 10));
 
-    // copy data-src attribute to src attribute for all iframes to correclty display its content after JS is fully loaded
+    // copy data-src attribute to src attribute for all iframes to correctly display its contents after JS is fully loaded
     $('iframe').each(function(){
         $(this).attr("src", $(this).attr("data-src") );
---------------------------------------------------------------------
OTRS mailing list: cvs-log - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/cvs-log
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/cvs-log
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.