ofbiz-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Deepak Dixit (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OFBIZ-7091) Two empty options are shown in shipping method select box on Edit promo screen
Date Sat, 21 May 2016 09:03:12 GMT

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

Deepak Dixit commented on OFBIZ-7091:
-------------------------------------

Hi Swapnil,

If you remove empty option then how can we empty the value.
Means in case of update.

> Two empty options are shown in shipping method select box on Edit promo screen
> ------------------------------------------------------------------------------
>
>                 Key: OFBIZ-7091
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-7091
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: product
>    Affects Versions: Trunk
>            Reporter: Swapnil M Mane
>            Assignee: Pranay Pandey
>            Priority: Trivial
>         Attachments: EditProductPromoRules.png, OFBIZ-7091.patch
>
>
> On Edit promo screen, in existing condition section's select box two empty options are
shown.
> Please find the screenshot for more detail.
> Reason and Solution:
> As per the code in EditProductPromoRules.ftl,
> {code}
> <option value = "${carrierShippingMethod!}">${carrierParty!}&nbsp;${description}</option
> <option value = "">&nbsp;</option>
> {code}
> And the carrierParty is calculated above, if it is not available the first option will
show automatically as empty option
> {code}
> <option value = "${carrierShippingMethod!}">${carrierParty!}&nbsp;${description}</option>
> {code}
> So, we don't need the second empty option field and can remove it.
> {code}
> <option value = "">&nbsp;</option>
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message