popup window for image opens then closes immediately
---------------------------------------------------- Key: OFBIZ-2805 URL: https://issues.apache.org/jira/browse/OFBIZ-2805 Project: OFBiz Issue Type: Bug Components: specialpurpose/ecommerce Affects Versions: Release Branch 9.04 Environment: Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9.0.13) Gecko/2009080315 Ubuntu/9.04 (jaunty) Firefox/3.0.13 Reporter: chris snow In the product detail view, when I click on the image, a pop up window appears then immediately closes. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
[ https://issues.apache.org/jira/browse/OFBIZ-2805?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12740434#action_12740434 ] chris snow commented on OFBIZ-2805: ----------------------------------- The problem appears to be with the javascript function popUp: function popUp(url, name, height, width) { popupWindow = window.open(url, name, 'location=no,scrollbars,width=' + width + ',height=' + height); } Using firefox debugger, I can see the value of url in popUp function is: /ecommerce/control/detailImage?detail=/images/products/detail/volvo1.jpeg > popup window for image opens then closes immediately > ---------------------------------------------------- > > Key: OFBIZ-2805 > URL: https://issues.apache.org/jira/browse/OFBIZ-2805 > Project: OFBiz > Issue Type: Bug > Components: specialpurpose/ecommerce > Affects Versions: Release Branch 9.04 > Environment: Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9.0.13) Gecko/2009080315 Ubuntu/9.04 (jaunty) Firefox/3.0.13 > Reporter: chris snow > > In the product detail view, when I click on the image, a pop up window appears then immediately closes. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-2805?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12740434#action_12740434 ] chris snow edited comment on OFBIZ-2805 at 8/7/09 12:26 AM: ------------------------------------------------------------ The problem appears to be with the javascript function popUp: function popUp(url, name, height, width) { popupWindow = window.open(url, name, 'location=no,scrollbars,width=' + width + ',height=' + height); } Using firefox debugger, I can see the value of url in popUp function is: <pre> /ecommerce/control/detailImage?detail=/images/products/detail/volvo1.jpeg </pre> was (Author: snowch): The problem appears to be with the javascript function popUp: function popUp(url, name, height, width) { popupWindow = window.open(url, name, 'location=no,scrollbars,width=' + width + ',height=' + height); } Using firefox debugger, I can see the value of url in popUp function is: /ecommerce/control/detailImage?detail=/images/products/detail/volvo1.jpeg > popup window for image opens then closes immediately > ---------------------------------------------------- > > Key: OFBIZ-2805 > URL: https://issues.apache.org/jira/browse/OFBIZ-2805 > Project: OFBiz > Issue Type: Bug > Components: specialpurpose/ecommerce > Affects Versions: Release Branch 9.04 > Environment: Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9.0.13) Gecko/2009080315 Ubuntu/9.04 (jaunty) Firefox/3.0.13 > Reporter: chris snow > > In the product detail view, when I click on the image, a pop up window appears then immediately closes. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-2805?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12740434#action_12740434 ] chris snow edited comment on OFBIZ-2805 at 8/7/09 12:27 AM: ------------------------------------------------------------ The problem appears to be with the javascript function popUp: {code} function popUp(url, name, height, width) { popupWindow = window.open(url, name, 'location=no,scrollbars,width=' + width + ',height=' + height); } {code} Using firefox debugger, I can see the value of url in popUp function is: {code} /ecommerce/control/detailImage?detail=/images/products/detail/volvo1.jpeg {code} was (Author: snowch): The problem appears to be with the javascript function popUp: function popUp(url, name, height, width) { popupWindow = window.open(url, name, 'location=no,scrollbars,width=' + width + ',height=' + height); } Using firefox debugger, I can see the value of url in popUp function is: <pre> /ecommerce/control/detailImage?detail=/images/products/detail/volvo1.jpeg </pre> > popup window for image opens then closes immediately > ---------------------------------------------------- > > Key: OFBIZ-2805 > URL: https://issues.apache.org/jira/browse/OFBIZ-2805 > Project: OFBiz > Issue Type: Bug > Components: specialpurpose/ecommerce > Affects Versions: Release Branch 9.04 > Environment: Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9.0.13) Gecko/2009080315 Ubuntu/9.04 (jaunty) Firefox/3.0.13 > Reporter: chris snow > > In the product detail view, when I click on the image, a pop up window appears then immediately closes. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-2805?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12740434#action_12740434 ] chris snow edited comment on OFBIZ-2805 at 8/7/09 12:28 AM: ------------------------------------------------------------ The problem appears to be with the javascript function popUp: {code} function popUp(url, name, height, width) { popupWindow = window.open(url, name, 'location=no,scrollbars,width=' + width + ',height=' + height); } {code} Using firefox debugger, I can see the value of url in popUp function is: {code} /ecommerce/control/detailImage?detail=/images/products/detail/volvo1.jpeg {code} was (Author: snowch): The problem appears to be with the javascript function popUp: {code} function popUp(url, name, height, width) { popupWindow = window.open(url, name, 'location=no,scrollbars,width=' + width + ',height=' + height); } {code} Using firefox debugger, I can see the value of url in popUp function is: {code} /ecommerce/control/detailImage?detail=/images/products/detail/volvo1.jpeg {code} > popup window for image opens then closes immediately > ---------------------------------------------------- > > Key: OFBIZ-2805 > URL: https://issues.apache.org/jira/browse/OFBIZ-2805 > Project: OFBiz > Issue Type: Bug > Components: specialpurpose/ecommerce > Affects Versions: Release Branch 9.04 > Environment: Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9.0.13) Gecko/2009080315 Ubuntu/9.04 (jaunty) Firefox/3.0.13 > Reporter: chris snow > > In the product detail view, when I click on the image, a pop up window appears then immediately closes. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-2805?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12740434#action_12740434 ] chris snow edited comment on OFBIZ-2805 at 8/7/09 1:18 AM: ----------------------------------------------------------- The problem appears to be with the javascript function popUp: {code} function popUp(url, name, height, width) { popupWindow = window.open(url, name, 'location=no,scrollbars,width=' + width + ',height=' + height); } {code} Using firefox debugger, I can see the value of url in popUp function is: {code} /ecommerce/control/detailImage?detail=/images/products/detail/volvo1.jpeg {code} If I modify webapp/ecommerce/catalog/detailImage.ftl to dump the requestParameters (as below), the following is displayed in the page: {code} [detail=] {code> {code} <html> <body> <center> ${requestParameters} <#if requestParameters.detail?has_content> <#assign detailImage = Static["org.ofbiz.base.util.Base64"].base64Decode(requestParameters.detail)> <img src="${detailImage}" border="0" width='500'> <#else> <script language="JavaScript" type="text/javascript"> <!-- // //window.close(); // --> </script> </#if> </center> </body> </html> {code} I though the encoding for a forward slash is {code}%2F{code} was (Author: snowch): The problem appears to be with the javascript function popUp: {code} function popUp(url, name, height, width) { popupWindow = window.open(url, name, 'location=no,scrollbars,width=' + width + ',height=' + height); } {code} Using firefox debugger, I can see the value of url in popUp function is: {code} /ecommerce/control/detailImage?detail=/images/products/detail/volvo1.jpeg {code} > popup window for image opens then closes immediately > ---------------------------------------------------- > > Key: OFBIZ-2805 > URL: https://issues.apache.org/jira/browse/OFBIZ-2805 > Project: OFBiz > Issue Type: Bug > Components: specialpurpose/ecommerce > Affects Versions: Release Branch 9.04 > Environment: Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9.0.13) Gecko/2009080315 Ubuntu/9.04 (jaunty) Firefox/3.0.13 > Reporter: chris snow > > In the product detail view, when I click on the image, a pop up window appears then immediately closes. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-2805?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12740434#action_12740434 ] chris snow edited comment on OFBIZ-2805 at 8/7/09 1:20 AM: ----------------------------------------------------------- The problem appears to be with the javascript function popUp: {code} function popUp(url, name, height, width) { popupWindow = window.open(url, name, 'location=no,scrollbars,width=' + width + ',height=' + height); } {code} Using firefox debugger, I can see the value of url in popUp function is: {code} /ecommerce/control/detailImage?detail=/images/products/detail/volvo1.jpeg {code} If I modify webapp/ecommerce/catalog/detailImage.ftl to dump the requestParameters (as below), the following is displayed in the page: {code} [detail=] {code} {code} <html> <body> <center> ${requestParameters} <#if requestParameters.detail?has_content> <#assign detailImage = Static["org.ofbiz.base.util.Base64"].base64Decode(requestParameters.detail)> <img src="${detailImage}" border="0" width='500'> <#else> <script language="JavaScript" type="text/javascript"> <!-- // //window.close(); // --> </script> </#if> </center> </body> </html> {code} I though the encoding for a forward slash is {noformat}%2F{noformat} was (Author: snowch): The problem appears to be with the javascript function popUp: {code} function popUp(url, name, height, width) { popupWindow = window.open(url, name, 'location=no,scrollbars,width=' + width + ',height=' + height); } {code} Using firefox debugger, I can see the value of url in popUp function is: {code} /ecommerce/control/detailImage?detail=/images/products/detail/volvo1.jpeg {code} If I modify webapp/ecommerce/catalog/detailImage.ftl to dump the requestParameters (as below), the following is displayed in the page: {code} [detail=] {code> {code} <html> <body> <center> ${requestParameters} <#if requestParameters.detail?has_content> <#assign detailImage = Static["org.ofbiz.base.util.Base64"].base64Decode(requestParameters.detail)> <img src="${detailImage}" border="0" width='500'> <#else> <script language="JavaScript" type="text/javascript"> <!-- // //window.close(); // --> </script> </#if> </center> </body> </html> {code} I though the encoding for a forward slash is {code}%2F{code} > popup window for image opens then closes immediately > ---------------------------------------------------- > > Key: OFBIZ-2805 > URL: https://issues.apache.org/jira/browse/OFBIZ-2805 > Project: OFBiz > Issue Type: Bug > Components: specialpurpose/ecommerce > Affects Versions: Release Branch 9.04 > Environment: Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9.0.13) Gecko/2009080315 Ubuntu/9.04 (jaunty) Firefox/3.0.13 > Reporter: chris snow > > In the product detail view, when I click on the image, a pop up window appears then immediately closes. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-2805?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jacques Le Roux closed OFBIZ-2805. ---------------------------------- Resolution: Fixed Fix Version/s: SVN trunk Release Branch 9.04 Assignee: Jacques Le Roux It was not the reason, it's fixed in trunk at r811528 and R9.04 at r811539 > popup window for image opens then closes immediately > ---------------------------------------------------- > > Key: OFBIZ-2805 > URL: https://issues.apache.org/jira/browse/OFBIZ-2805 > Project: OFBiz > Issue Type: Bug > Components: specialpurpose/ecommerce > Affects Versions: Release Branch 9.04 > Environment: Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9.0.13) Gecko/2009080315 Ubuntu/9.04 (jaunty) Firefox/3.0.13 > Reporter: chris snow > Assignee: Jacques Le Roux > Fix For: Release Branch 9.04, SVN trunk > > > In the product detail view, when I click on the image, a pop up window appears then immediately closes. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
Free forum by Nabble | Edit this page |