Resolve bug with wrong Select2 locale files in 1.5.8


#1

Hi,

i get messages in Chrome console :

  • GET frhttps://mydomain/assets/core/js/locales/select2/.js?v=1.5.8 net::ERR_UNKNOWN_URL_SCHEME
  • dashboard:1 Mixed Content: The page at 'https://mydomain/index.php/dashboard' was loaded over HTTPS, but requested an insecure script 'frhttps://mydomain/assets/core/js/locales/select2/.js?v=1.5.8'. This content should also be served over HTTPS.

To resolve this :
ip/application/modules/layout/views/includes/head.php
line 23
<script src="<?php _core_asset('js/locales/select2/' . trans('cldr') . '.js'); ?>"></script>
instead of
<script src="<?php _core_asset('js/locales/select2/' . _trans('cldr') . '.js'); ?>"></script>


#2

I change the file’s path … sorry


#3

Thanks, issue was created here: https://development.invoiceplane.com/browse/IP-686


#4

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.