[imageBLOB] Improved location of imageNotAvailableSrc
authorDavid Baz Fayos <david.baz@openbravo.com>
Mon, 01 Aug 2011 19:03:55 +0200
changeset 13372 2c4ba052c7cd
parent 13371 ffa95c0d6236
child 13375 00a5ffa92ae2
[imageBLOB] Improved location of imageNotAvailableSrc
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-image.js
--- a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-image.js	Mon Aug 01 17:39:50 2011 +0200
+++ b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-image.js	Mon Aug 01 19:03:55 2011 +0200
@@ -115,7 +115,9 @@
       width: '100%'
     });
     this.imageLayout.addMember(this.image);
-    this.image.setSrc('../web/skins/ltr/Default/Common/Image/imageNotAvailable_medium.png');
+    this.image.setSrc(this.imageNotAvailableSrc);
+    this.image.setHeight(this.imageNotAvailableHeight);
+    this.image.setWidth(this.imageNotAvailableWidth);
     var buttonLayout = isc.VLayout.create({
       width: '1%'
     });