only double quoted string seems to be detected in js

This commit is contained in:
Robin Appelman 2012-01-20 17:47:55 +01:00
parent 6866165a37
commit 735fcf8bd2
1 changed files with 2 additions and 2 deletions

View File

@ -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();