You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "chris snow (JIRA)" <ji...@apache.org> on 2009/08/07 09:27:14 UTC

[jira] Issue Comment Edited: (OFBIZ-2805) popup window for image opens then closes immediately

    [ 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=&#47;images&#47;products&#47;detail&#47;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=&#47;images&#47;products&#47;detail&#47;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.