Missing Custom Interface Global js causing 404 errors

Preconditions

Don't specify a custom js for the cme_js property so the default is loaded.

Steps to Reproduce

login to oscar and simply check the console output you will see that /js/custom/default/global.js has failed to loaded.

Expected Result

It would be expected that a 404 error not be generated

Observed Result

The file attempts to load but then fails with a message:

The script from "{path}global.js” was loaded even though its mime type (“text/html”) is not a valid javascript mime type.

Then the file fails to load because it doesn't exist.

Additional Comments

This will occur everytime the appointment screen reloads.

Assignee

John Wilson

Reporter

John Wilson

Labels

None

OSCAR Build Date

2019/12/13

OSCAR Build Tag

any

Client Browser

Firefox

Client OS

Ubuntu

Are you or your organization planning on submitting a fix for this bug in the next 30 days?

Yes

Validated by Reporter

Yes

SourceForge Link

None

SourceForge Reporter

None

SourceForge Assigned To

None

SourceForge Date Created

None

SourceForge ID

None

Affects versions

Priority

5 (Default)
Configure