From: Paul Stevens Date: Fri, 27 Dec 2013 19:06:31 +0000 (+0100) Subject: fixes a problem where an emptied cache from update_images won't be repopulated by... X-Git-Tag: 5.0.3~6^2 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=refs%2Fpull%2F4000%2Fhead;p=thirdparty%2Ffoundation%2Ffoundation-sites.git fixes a problem where an emptied cache from update_images won't be repopulated by the store --- diff --git a/js/foundation/foundation.interchange.js b/js/foundation/foundation.interchange.js index d227a2184..5c36c2de0 100644 --- a/js/foundation/foundation.interchange.js +++ b/js/foundation/foundation.interchange.js @@ -267,7 +267,7 @@ var uuid = this.uuid(), current_uuid = el.data('uuid'); - if (current_uuid) return this.cache[current_uuid]; + if (this.cache[current_uuid]) return this.cache[current_uuid]; el.attr('data-uuid', uuid);