From 65f623438d39b7a061fafb88d607983de38af60e Mon Sep 17 00:00:00 2001 From: "Timo A. Hummel" Date: Sat, 2 Jan 2016 23:52:17 +0100 Subject: [PATCH] Use correct class members for imageWidth and imageHeight, fixes #518 --- .../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 index 853066c40..2bacf8ef8 100644 --- 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(""); }