From c064363bea9c2c43dd4a8a1df2ba2d4718462b2a Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Mon, 3 Feb 2014 07:48:04 +0400 Subject: [PATCH] minor fix... Signed-off-by: Alex A. Naanou --- ui/files.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ui/files.js b/ui/files.js index 7fbdd267..84fe89ac 100755 --- a/ui/files.js +++ b/ui/files.js @@ -1200,11 +1200,13 @@ function updateImageGID(gid, images, data){ function updateImagesGIDs(images, data){ images = images == null ? IMAGES : images - return $.when.apply(null, $.map(images, function(_, key){ + var res = $.when.apply(null, $.map(images, function(_, key){ return updateImageGID(key, images, data) })) IMAGES_CREATED = true + + return res } function updateImagesGIDsQ(images, data){ images = images == null ? IMAGES : images