partkeepr

fork of partkeepr
git clone https://git.e1e0.net/partkeepr.git
Log | Files | Refs | Submodules | README | LICENSE

commit 65f623438d39b7a061fafb88d607983de38af60e
parent 03b109a53fb12ba1c3059249d0dde9b6c1e35e52
Author: Timo A. Hummel <felicitus@felicitus.org>
Date:   Sat,  2 Jan 2016 23:52:17 +0100

Use correct class members for imageWidth and imageHeight, fixes #518

Diffstat:
Msrc/PartKeepr/FrontendBundle/Resources/public/js/Components/Widgets/RemoteImageField.js | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/PartKeepr/FrontendBundle/Resources/public/js/Components/Widgets/RemoteImageField.js b/src/PartKeepr/FrontendBundle/Resources/public/js/Components/Widgets/RemoteImageField.js @@ -69,7 +69,7 @@ Ext.define('PartKeepr.RemoteImageField', { if (value !== null) { this.image.setSrc( - value.getId() + "/getImage?maxWidth=" + this.imageWidth + "&maxHeight=" + this.imageHeight + "&ts=" + new Date().getTime()); + value.getId() + "/getImage?maxWidth=" + this.maxWidth + "&maxHeight=" + this.maxHeight + "&ts=" + new Date().getTime()); } else { this.image.setSrc(""); }