details:   https://code.openbravo.com/erp/devel/pi/rev/8b8886e76823
changeset: 16801:8b8886e76823
user:      David Baz Fayos <david.baz <at> openbravo.com>
date:      Mon Jun 11 20:52:58 2012 +0200
summary:   Fixed issue 20726: Removed implicit dependencies in i18n.ftl

diffstat:

 
modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/templates/i18n.ftl
 |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (31 lines):

diff -r 18f360e6852d -r 8b8886e76823 
modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/templates/i18n.ftl
--- 
a/modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/templates/i18n.ftl
    Mon Jun 11 17:13:37 2012 +0200
+++ 
b/modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/templates/i18n.ftl
    Mon Jun 11 20:52:58 2012 +0200
@@ -12,7 +12,7 @@
  * under the License.
  * The Original Code is Openbravo ERP.
  * The Initial Developer of the Original Code is Openbravo SLU 
- * All portions are Copyright (C) 2010-2011 Openbravo SLU 
+ * All portions are Copyright (C) 2010-2012 Openbravo SLU 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -20,6 +20,9 @@
 -->
 // jslint
 
+OB = window.OB || {};
+OB.I18N = window.OB.I18N || {};
+
 OB.I18N.labels = {
 <#list data.labels as label>
 '${label.key?js_string}':  '${label.value?js_string}'<#if 
label_has_next>,</#if>
@@ -49,7 +52,7 @@
         }
     }
     if (object && property) {
-      if (isc.isA.Function(object[property])) {
+      if (isc && isc.isA.Function(object[property])) {
         object[property](label);
       } else {
         object[property] = label;

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to