details:   /erp/devel/pi/rev/fa84f187494a
changeset: 9749:fa84f187494a
user:      Martin Taal <martin.taal <at> openbravo.com>
date:      Thu Jan 13 05:31:41 2011 +0100
summary:   Solved wrong usage of has_next directive

details:   /erp/devel/pi/rev/0200393d421d
changeset: 9750:0200393d421d
user:      Martin Taal <martin.taal <at> openbravo.com>
date:      Thu Jan 13 05:32:04 2011 +0100
summary:   Enabled jslint check for js of generated windows

diffstat:

 
modules/org.openbravo.client.application/src/org/openbravo/client/application/templates/ob-standard-view-window.js.ftl
 |  2 +-
 
modules/org.openbravo.client.application/src/org/openbravo/client/application/templates/ob-view-tab.js.ftl
             |  6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs (30 lines):

diff -r 2fdd6b501d98 -r 0200393d421d 
modules/org.openbravo.client.application/src/org/openbravo/client/application/templates/ob-standard-view-window.js.ftl
--- 
a/modules/org.openbravo.client.application/src/org/openbravo/client/application/templates/ob-standard-view-window.js.ftl
    Wed Jan 12 20:00:51 2011 +0100
+++ 
b/modules/org.openbravo.client.application/src/org/openbravo/client/application/templates/ob-standard-view-window.js.ftl
    Thu Jan 13 05:32:04 2011 +0100
@@ -17,7 +17,7 @@
  ************************************************************************
 */
 // contains the code for creating a class reflecting the standard window
-
+//jslint
 // tell the view manager what got loaded...
 OB.Layout.ViewManager.loadedWindowClassName = 
'${data.windowClientClassName?js_string}';
 
diff -r 2fdd6b501d98 -r 0200393d421d 
modules/org.openbravo.client.application/src/org/openbravo/client/application/templates/ob-view-tab.js.ftl
--- 
a/modules/org.openbravo.client.application/src/org/openbravo/client/application/templates/ob-view-tab.js.ftl
        Wed Jan 12 20:00:51 2011 +0100
+++ 
b/modules/org.openbravo.client.application/src/org/openbravo/client/application/templates/ob-view-tab.js.ftl
        Thu Jan 13 05:32:04 2011 +0100
@@ -48,11 +48,11 @@
     <#list tabComponent.buttonFields as field>
       {id: '${field.id?js_string}', 
        title: '${field.label?js_string}',
-       obManualURL: '${field.url}',
-       command: '${field.command}',
+       obManualURL: '${field.url?js_string}',
+       command: '${field.command?js_string}',
        property: '${field.propertyName?js_string}',
        labelValue: {<#list field.labelValues as value>
-           '${value.value}': '${value.label?js_string}'<#if 
field_has_next>,</#if>
+           '${value.value?js_string}': '${value.label?js_string}'<#if 
value_has_next>,</#if>
        </#list>
          }
       }<#if field_has_next>,</#if>

------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to