You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Dhaval Wagela (JIRA)" <ji...@apache.org> on 2018/05/26 07:16:00 UTC

[jira] [Commented] (OFBIZ-9849) Replace Inline js with External js in renderDropDownField macro

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

Dhaval Wagela commented on OFBIZ-9849:
--------------------------------------

Replaced inline js from renderDropDownField macro to external js in OfbizUtils.js
Done following:
Added class 'autoCompleteDropDown' to the field if ajaxEnabled is true, removed the code for the condition from the markup and added in OfbizUtils.js for the class 'autoCompleteDropDown'.
Removed js code for change event from the markup and added it to the 'change' event of combobox in ajaxAutoCompleteDropDown function.

Steps to verify:
Navigate to FormWidgetExamples([https://localhost:8443/example/control/FormWidgetExamples]).
Check the functionality of Autocomplete Dropdown in 'Drop down fields section'.

> Replace Inline js with External js in renderDropDownField macro
> ---------------------------------------------------------------
>
>                 Key: OFBIZ-9849
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-9849
>             Project: OFBiz
>          Issue Type: Sub-task
>            Reporter: Aditya Sharma
>            Assignee: Dhaval Wagela
>            Priority: Minor
>         Attachments: OFBIZ-9849.patch
>
>




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