Help "No appointment styling, after xform deployment"

The Community

There is an issue am experiencing in appointment UI in the tab section, I think is an issue in styling making it impossible to use this functionality.

Am not sure about the cause, but happens after deploying xform (4.3.12) module. without the module started the styles appear properly

Thanks for your support

Do you have any errors in the logs?

Hi @dkayiwa,

Thanks for your support. Yes there are some, see the link https://pastebin.com/EqyWXxGb

Do you have any errors in the browser console?

Yes, there is an error there as well. See the snapshot

How about when the xforms module is not installed?

That error message does not appear nor does any other error message in the console, just few warnings .

Hi @dkayiwa,

I have just noticed a change by updating the jquery.dataTables.min.js Ver:1.6.2 to Ver:1.10.16 . And it fixed the issue. Is this version change going to affect anything else?

Where have you made this change?

I have have updated the js file WEB-INF/view/scripts/jquery/dataTables/js

Can you do a pull request?

Hi @dkayiwa, no. I don’t know what you mean

OK. Can you point me to the repository where you got the source code that you modified?

Hi @dkayiwa,

I modified the jquery datatable library with the following

https://cdn.datatables.net/1.10.16/js/jquery.dataTables.min.js

https://cdn.datatables.net/1.10.16/css/jquery.dataTables.css

Regard

Dickson

Ok let me put it this way. Is it possible to share the full path to the location of the files that you modified locally on your computer?

Oky, i now get you.

/var/lib/tomcat7/webapps/openmrs/WEB-INF/view/scripts/jquery/dataTables/js/jquery.dataTables.min.js

/var/lib/tomcat7/webapps/openmrs/WEB-INF/view/scripts/jquery/dataTables/css/dataTables.css

Which OpenMRS platform version are you running?

OpenMRS 2.0.6 , Tomcat 7, Java 8