details: /erp/devel/pi/rev/b981769d0cef
changeset: 11548:b981769d0cef
user: Asier Lostalé <asier.lostale <at> openbravo.com>
date: Thu Apr 07 16:39:28 2011 +0200
summary: fixed bug 16701: All section are closed when it should be open
diffstat:
modules/org.openbravo.client.application/src/org/openbravo/client/application/templates/ob-view-field.js.ftl
| 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diffs (15 lines):
diff -r 915b198578bd -r b981769d0cef
modules/org.openbravo.client.application/src/org/openbravo/client/application/templates/ob-view-field.js.ftl
---
a/modules/org.openbravo.client.application/src/org/openbravo/client/application/templates/ob-view-field.js.ftl
Thu Apr 07 15:23:44 2011 +0200
+++
b/modules/org.openbravo.client.application/src/org/openbravo/client/application/templates/ob-view-field.js.ftl
Thu Apr 07 16:39:28 2011 +0200
@@ -62,7 +62,11 @@
</#if>
</#if>
<#if fieldDefinition.type = "OBSectionItem" || fieldDefinition.type =
"OBNoteSectionItem" || fieldDefinition.type = "OBLinkedItemSectionItem" >
+ <#if fieldDefinition.type = "OBNoteSectionItem">
sectionExpanded: false,
+ <#else>
+ sectionExpanded: true,
+ </#if>
defaultValue: '${fieldDefinition.label?js_string}',
itemIds: [
<#list fieldDefinition.children as childField>
------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits