You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Nicolas Malin (Jira)" <ji...@apache.org> on 2022/04/22 13:41:00 UTC

[jira] [Updated] (OFBIZ-12603) In place editor wrong enable on display field

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

Nicolas Malin updated OFBIZ-12603:
----------------------------------
    Attachment: Capture d’écran de 2022-04-22 15-15-32.png
                Capture d’écran de 2022-04-22 15-15-14.png

> 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, Upcoming Branch
>
>         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)