You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Deepak Dixit (JIRA)" <ji...@apache.org> on 2018/08/10 11:31:00 UTC

[jira] [Comment Edited] (OFBIZ-10511) Use of layered-modal with parameter does not work

    [ https://issues.apache.org/jira/browse/OFBIZ-10511?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16576136#comment-16576136 ] 

Deepak Dixit edited comment on OFBIZ-10511 at 8/10/18 11:30 AM:
----------------------------------------------------------------

[~gil portenseigne] could you please verify attached patch?

The main issue was that single-quotes can't be used in json. It will give syntax error.

 https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Errors/JSON_bad_parse#Property_names_must_be_double-quoted_strings


was (Author: deepak.dixit):
[~gil portenseigne] could you please verify attached patch?

The main issue was that single-quotes can't be used in json. It will not give syntax error.

 

> Use of layered-modal with parameter does not work
> -------------------------------------------------
>
>                 Key: OFBIZ-10511
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-10511
>             Project: OFBiz
>          Issue Type: Bug
>    Affects Versions: Trunk, Release Branch 17.12
>            Reporter: Gil Portenseigne
>            Assignee: Gil Portenseigne
>            Priority: Major
>         Attachments: OFBIZ-10511-02-fixProposal.patch, OFBIZ-10511-reproduceBug.patch, OFBIZ-10511.patch
>
>
> When using layered-modal with a parameter, those param are not parsed by js when doing post request (the constructed map stay, and is send as one parameter with no value...).
> Though no parameter can be passed to the request.
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)