details: https://code.openbravo.com/erp/devel/pi/rev/f62a78d43f43
changeset: 13310:f62a78d43f43
user: David Baz Fayos <david.baz <at> openbravo.com>
date: Wed Jul 27 20:43:17 2011 +0200
summary: [imageBLOB] fixed and splitted some styles - part2
diffstat:
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-image.js
| 4 +---
modules/org.openbravo.client.application/web/org.openbravo.userinterface.smartclient/openbravo/skins/Default/org.openbravo.client.application/ob-form-styles.js
| 6 ++++++
2 files changed, 7 insertions(+), 3 deletions(-)
diffs (30 lines):
diff -r 9251cad76bb3 -r f62a78d43f43
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
Wed Jul 27 20:19:54 2011 +0200
+++
b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-image.js
Wed Jul 27 20:43:17 2011 +0200
@@ -64,9 +64,7 @@
height: height,
width: width,
click: function() { this.popupContainer.closeClick(); },
- cursor: 'pointer',
- src: "../utility/ShowImage?id=" + imageId + '&nocache=' +
Math.random(),
- align: 'center'
+ src: "../utility/ShowImage?id=" + imageId + '&nocache=' + Math.random()
});
image.setImageType('stretch');
imagePopup.addItem(image);
diff -r 9251cad76bb3 -r f62a78d43f43
modules/org.openbravo.client.application/web/org.openbravo.userinterface.smartclient/openbravo/skins/Default/org.openbravo.client.application/ob-form-styles.js
---
a/modules/org.openbravo.client.application/web/org.openbravo.userinterface.smartclient/openbravo/skins/Default/org.openbravo.client.application/ob-form-styles.js
Wed Jul 27 20:19:54 2011 +0200
+++
b/modules/org.openbravo.client.application/web/org.openbravo.userinterface.smartclient/openbravo/skins/Default/org.openbravo.client.application/ob-form-styles.js
Wed Jul 27 20:43:17 2011 +0200
@@ -412,6 +412,12 @@
defaultLayoutAlign: 'center'
});
+isc.OBImageItemBigImage.addProperties({
+ styleName: 'OBImageItemBigImageContainer',
+ cursor: 'pointer',
+ align: 'center'
+});
+
isc.OBImageItemButton.addProperties({
showRollOver: true,
showDisabled: true,
------------------------------------------------------------------------------
Got Input? Slashdot Needs You.
Take our quick survey online. Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits