Move datepicker language js inclusion outside compress
The datapicker language support works by including a different
js file based on the language of the user. This will not
work if the js is included at compress time becuase only 1
language can be included.
Additionally cleaning up the logic in case the locale
isn't set (as is the case at compression time) to prevent
an improper path from being build.
Reviewed: https:/ /review. openstack. org/123779 /git.openstack. org/cgit/ openstack/ horizon/ commit/ ?id=a0585787208 3f4e97d86c2d658 574b095dde123f
Committed: https:/
Submitter: Jenkins
Branch: master
commit a05857872083f4e 97d86c2d658574b 095dde123f
Author: Doug Fish <email address hidden>
Date: Wed Sep 24 11:11:12 2014 -0500
Move datepicker language js inclusion outside compress
The datapicker language support works by including a different
js file based on the language of the user. This will not
work if the js is included at compress time becuase only 1
language can be included.
Additionally cleaning up the logic in case the locale
isn't set (as is the case at compression time) to prevent
an improper path from being build.
Change-Id: I953dde0e7ee4a8 76376faf28c6f0b b859a3dc6b6
Closes-Bug: #1373430