details:   /erp/devel/pi/rev/e76e98451b56
changeset: 12883:e76e98451b56
user:      David Baz Fayos <david.baz <at> openbravo.com>
date:      Wed Jun 15 23:57:30 2011 +0200
summary:   [SKIN] Moved OBCheckboxItem visualization logic to the skin

diffstat:

 
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-checkbox.js
                                       |  8 +-------
 
modules/org.openbravo.client.application/web/org.openbravo.userinterface.smartclient/openbravo/skins/3.00/org.openbravo.client.application/ob-form-styles.js
 |  9 +++++++++
 2 files changed, 10 insertions(+), 7 deletions(-)

diffs (37 lines):

diff -r 300a5ea41843 -r e76e98451b56 
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-checkbox.js
--- 
a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-checkbox.js
    Wed Jun 15 13:34:09 2011 +0200
+++ 
b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-checkbox.js
    Wed Jun 15 23:57:30 2011 +0200
@@ -22,13 +22,7 @@
 isc.ClassFactory.defineClass('OBCheckboxItem', CheckboxItem);
 
 isc.OBCheckboxItem.addProperties({
-  operator: 'equals',
+  operator: 'equals'
   // no validation on change or exit here
-  textBoxStyle: 'OBFormFieldLabel',
-  showValueIconOver: true,
-  showValueIconFocused: true,
-  defaultValue: false,
-  checkedImage: 
'[SKIN]/../../org.openbravo.client.application/images/form/checked.png',
-  uncheckedImage: 
'[SKIN]/../../org.openbravo.client.application/images/form/unchecked.png'
 });
 
diff -r 300a5ea41843 -r e76e98451b56 
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
      Wed Jun 15 13:34:09 2011 +0200
+++ 
b/modules/org.openbravo.client.application/web/org.openbravo.userinterface.smartclient/openbravo/skins/3.00/org.openbravo.client.application/ob-form-styles.js
      Wed Jun 15 23:57:30 2011 +0200
@@ -128,6 +128,15 @@
 
 isc.OBYesNoItem.addProperties(isc.addProperties({}, 
OB.DefaultPickListStyleProperties));
 
+isc.OBCheckboxItem.addProperties({
+  textBoxStyle: 'OBFormFieldLabel',
+  showValueIconOver: true,
+  showValueIconFocused: true,
+  defaultValue: false,
+  checkedImage: 
'[SKIN]/../../org.openbravo.client.application/images/form/checked.png',
+  uncheckedImage: 
'[SKIN]/../../org.openbravo.client.application/images/form/unchecked.png'
+});
+
 
 isc.OBSearchItem.addProperties({
   cellStyle: 'OBFormField',

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to