Fix metadata loading

fetchImageInfo() was used to load different property sets,
but had a single cache, so sometimes the results with less properties
overwrote the ones with more.

This is a dirty hack to deal with that. I will revisit once we
use promises.

Bug: 59817
Change-Id: I4f375bcc4e6fcfdb3e3fe7a30fc90a8fd44164c3
This commit is contained in:
Gergő Tisza 2014-01-09 02:25:43 +00:00
parent 666f2b3af3
commit a91058adc4

View file

@ -821,7 +821,7 @@
targetWidth = widths.target,
requestedWidth = widths.requested;
props = props || iiprops;
props = $.merge( props || [], iiprops ); // FIXME bug 59817
apiArgs.iiprop = props.join( '|' );
apiArgs.iiurlwidth = requestedWidth;