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') {
|
||||
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) {
|
||||
$.getJSON('ajax/galleryOp.php?operation=partial_create&path='+r.paths[a], function(r) {
|
||||
|
||||
|
@ -53,7 +53,7 @@ function scanForAlbums() {
|
|||
}
|
||||
|
||||
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) {
|
||||
$("#notification").fadeOut();
|
||||
$("#notification").slideUp();
|
||||
|
|
Loading…
Reference in New Issue