only double quoted string seems to be detected in js
This commit is contained in:
parent
6866165a37
commit
735fcf8bd2
|
@ -44,7 +44,7 @@ function scanForAlbums() {
|
||||||
|
|
||||||
if (r.status == 'success') {
|
if (r.status == 'success') {
|
||||||
totalAlbums = r.paths.length;
|
totalAlbums = r.paths.length;
|
||||||
$('#notification').text(t('gallery','Creating thumbnails')+' ... ' + Math.floor((albumCounter/totalAlbums)*100) + "%");
|
$('#notification').text(t('gallery',"Creating thumbnails")+' ... ' + Math.floor((albumCounter/totalAlbums)*100) + "%");
|
||||||
for(var a in r.paths) {
|
for(var a in r.paths) {
|
||||||
$.getJSON('ajax/galleryOp.php?operation=partial_create&path='+r.paths[a], function(r) {
|
$.getJSON('ajax/galleryOp.php?operation=partial_create&path='+r.paths[a], function(r) {
|
||||||
|
|
||||||
|
@ -53,7 +53,7 @@ function scanForAlbums() {
|
||||||
}
|
}
|
||||||
|
|
||||||
albumCounter++;
|
albumCounter++;
|
||||||
$('#notification').text(t('gallery','Creating thumbnails')+' ... ' + Math.floor((albumCounter/totalAlbums)*100) + "%");
|
$('#notification').text(t('gallery',"Creating thumbnails")+' ... ' + Math.floor((albumCounter/totalAlbums)*100) + "%");
|
||||||
if (albumCounter == totalAlbums) {
|
if (albumCounter == totalAlbums) {
|
||||||
$("#notification").fadeOut();
|
$("#notification").fadeOut();
|
||||||
$("#notification").slideUp();
|
$("#notification").slideUp();
|
||||||
|
|
Loading…
Reference in New Issue