Browse Source

Add locale to js file path

This reduces the likelihood of a cached file being used after the locale is changed.
adaptive-webui-19844
Thomas Piccirello 6 years ago
parent
commit
65934a4c69
  1. 10
      src/webui/www/private/index.html
  2. 2
      src/webui/www/private/newcategory.html
  3. 2
      src/webui/www/private/rename.html
  4. 2
      src/webui/www/private/setlocation.html
  5. 2
      src/webui/www/private/shareratio.html

10
src/webui/www/private/index.html

@ -19,13 +19,13 @@ @@ -19,13 +19,13 @@
<script src="scripts/lib/excanvas-compressed.js"></script>
<![endif]-->
<script src="scripts/lib/mocha-yc.js"></script>
<script src="scripts/mocha-init.js"></script>
<script src="scripts/mocha-init.js?locale=${LANG}"></script>
<script src="scripts/lib/clipboard.min.js"></script>
<script src="scripts/misc.js"></script>
<script src="scripts/misc.js?locale=${LANG}"></script>
<script src="scripts/progressbar.js"></script>
<script src="scripts/dynamicTable.js"></script>
<script src="scripts/client.js"></script>
<script src="scripts/contextmenu.js"></script>
<script src="scripts/dynamicTable.js?locale=${LANG}"></script>
<script src="scripts/client.js?locale=${LANG}"></script>
<script src="scripts/contextmenu.js?locale=${LANG}"></script>
</head>
<body>

2
src/webui/www/private/newcategory.html

@ -7,7 +7,7 @@ @@ -7,7 +7,7 @@
<link rel="stylesheet" href="css/style.css" type="text/css" />
<script src="scripts/lib/mootools-1.2-core-yc.js"></script>
<script src="scripts/lib/mootools-1.2-more.js"></script>
<script src="scripts/misc.js"></script>
<script src="scripts/misc.js?locale=${LANG}"></script>
<script>
var newCategoryKeyboardEvents = new Keyboard({
defaultEventType: 'keydown',

2
src/webui/www/private/rename.html

@ -7,7 +7,7 @@ @@ -7,7 +7,7 @@
<link rel="stylesheet" href="css/style.css" type="text/css" />
<script src="scripts/lib/mootools-1.2-core-yc.js"></script>
<script src="scripts/lib/mootools-1.2-more.js"></script>
<script src="scripts/misc.js"></script>
<script src="scripts/misc.js?locale=${LANG}"></script>
<script>
var renameKeyboardEvents = new Keyboard({
defaultEventType: 'keydown',

2
src/webui/www/private/setlocation.html

@ -7,7 +7,7 @@ @@ -7,7 +7,7 @@
<link rel="stylesheet" href="css/style.css" type="text/css" />
<script src="scripts/lib/mootools-1.2-core-yc.js"></script>
<script src="scripts/lib/mootools-1.2-more.js"></script>
<script src="scripts/misc.js"></script>
<script src="scripts/misc.js?locale=${LANG}"></script>
<script>
var setLocationKeyboardEvents = new Keyboard({
defaultEventType: 'keydown',

2
src/webui/www/private/shareratio.html

@ -7,7 +7,7 @@ @@ -7,7 +7,7 @@
<link rel="stylesheet" href="css/style.css" type="text/css" />
<script src="scripts/lib/mootools-1.2-core-yc.js"></script>
<script src="scripts/lib/mootools-1.2-more.js"></script>
<script src="scripts/misc.js"></script>
<script src="scripts/misc.js?locale=${LANG}"></script>
<script>
var UseGlobalLimit = -2;
var NoLimit = -1;

Loading…
Cancel
Save