Adding a Link type field
authorAsier Galdos <asier.galdos@almis.com>
Fri, 04 Mar 2011 18:11:54 +0100
changeset 11038 3df47d728b0d
parent 11037 cbf101e59f72
child 11039 68eedc82708c
Adding a Link type field
modules/org.openbravo.client.application/web/org.openbravo.userinterface.smartclient/openbravo/skins/3.00/org.openbravo.client.application/ob-form-styles.js
--- a/modules/org.openbravo.client.application/web/org.openbravo.userinterface.smartclient/openbravo/skins/3.00/org.openbravo.client.application/ob-form-styles.js	Fri Mar 04 18:11:36 2011 +0100
+++ b/modules/org.openbravo.client.application/web/org.openbravo.userinterface.smartclient/openbravo/skins/3.00/org.openbravo.client.application/ob-form-styles.js	Fri Mar 04 18:11:54 2011 +0100
@@ -49,6 +49,15 @@
   textBoxStyle: 'OBFormFieldInput'
 });
 
+isc.OBLinkItem.addProperties({
+  errorOrientation: 'left',
+  height: 21,
+  width: '100%',
+  cellStyle: 'OBFormField',
+  titleStyle: 'OBFormFieldLabel',
+  textBoxStyle: 'OBFormFieldInput'
+});
+
 isc.OBTimeItem.addProperties({
   errorOrientation: 'left',
   height: 21,
@@ -148,6 +157,25 @@
   newTabIconSize: 8
 });
 
+isc.OBLinkItem.addProperties({
+  cellStyle: 'OBFormField',
+  titleStyle: 'OBFormFieldLabel',
+  textBoxStyle: 'OBFormFieldInput',
+  pickerIconHeight: 21,
+  pickerIconWidth: 21,
+  height: 21,
+  pickerIconSrc: '[SKINIMG]../../org.openbravo.client.application/images/form/search_picker.png',
+  clearIcon: {
+    showHover: true,
+    height: 15,
+    width: 15,
+    src: '[SKINIMG]../../org.openbravo.client.application/images/form/clear-field.png',    
+    prompt: OB.I18N.getLabel('OBUIAPP_ClearIconPrompt')
+  },
+  newTabIconSrc: '[SKINIMG]../../org.openbravo.client.application/images/form/ico-to-new-tab.png',
+  newTabIconSize: 8
+});
+
 
 isc.OBDateChooser.addProperties({
   headerStyle: 'OBDateChooserButton',