[ 
https://issues.apache.org/jira/browse/OFBIZ-12603?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jacques Le Roux updated OFBIZ-12603:
------------------------------------
    Fix Version/s:     (was: Upcoming Branch)

Hi Nicolas,

Our last way is to not put Upcoming Branch in Fix version field when we also 
backport. In other words we only put Upcoming Branch in Fix version field for 
improvements ;)

> In place editor wrong enable on display field
> ---------------------------------------------
>
>                 Key: OFBIZ-12603
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-12603
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework/widget, themes
>    Affects Versions: 18.12.06, 22.01.01, Upcoming Branch
>            Reporter: Nicolas Malin
>            Assignee: Nicolas Malin
>            Priority: Trivial
>             Fix For: 18.12.06, 22.01.01
>
>         Attachments: Capture d’écran de 2022-04-22 15-15-14.png, Capture 
> d’écran de 2022-04-22 15-15-32.png
>
>
> When, on a form, you set a widget-style on a display field, you activate the 
> inline editor without reason.
> The issue comes from HtmlFormMacroLibrary.ftl that initialize some value in a 
> span 
> {code:java}
>     <#if inPlaceEditorUrl?has_content || class?has_content || alert=="true" 
> || title?has_content>
>       <span data-inplace-editor-url="${inPlaceEditorUrl}" 
> data-inplace-editor-params="${inPlaceEditorParams}" <#if 
> idName?has_content>id="cc_${idName}"</#if> <#if 
> title?has_content>title="${title}"</#if> <@renderClass class alert />><#t/>
>     </#if>{code}
> With the previous code, if you have a class value, the span received in place 
> editor elements without reason. 



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to