Details
-
Bug
-
Status: Closed
-
Could
-
Resolution: Fixed
-
OpenMRS 1.6.2, OpenMRS 1.7.1, OpenMRS 1.8.0, OpenMRS 1.9.0
-
None
-
Low
Description
When implementing two globalproperties portlets on one JSP page, the input fields and save / cancel buttons get out of sync. This can probably be remedied by creating a unique id for each rendering of the portlet and prepending/appending it to the "gp_X" ids used for the global property inputs.
The file to edit is located at:
/webapp/src/main/webapp/WEB-INF/view/module/webservices/rest/globalProperties.jsp
The PortletController class provides a unique id (might be a uuid even) for every rendered portlet. This variable is avialable in globalProperties.jsp