Help "No appointment styling, after xform deployment"


(dixon samwel) #1

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


(Daniel Kayiwa) #2

Do you have any errors in the logs?


(dixon samwel) #3

Hi @dkayiwa,

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


(Daniel Kayiwa) #4

Do you have any errors in the browser console?


(dixon samwel) #5

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


(Daniel Kayiwa) #6

How about when the xforms module is not installed?


(dixon samwel) #7

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


(dixon samwel) #8

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?


(Daniel Kayiwa) #9

Where have you made this change?


(dixon samwel) #10

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


(Daniel Kayiwa) #11

Can you do a pull request?


(dixon samwel) #12

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


(Daniel Kayiwa) #13

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


(dixon samwel) #14

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


(Daniel Kayiwa) #15

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?


(dixon samwel) #16

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


(Daniel Kayiwa) #17

Which OpenMRS platform version are you running?


(dixon samwel) #18

OpenMRS 2.0.6 , Tomcat 7, Java 8