details:   /erp/devel/pi/rev/7429fd2de740
changeset: 11294:7429fd2de740
user:      Mikel Irurita <mikel.irurita <at> openbravo.com>
date:      Fri Mar 18 16:46:46 2011 +0100
summary:   Fixes issue 16388: Accounting configuration callout not working

diffstat:

 src/org/openbravo/erpCommon/ad_callouts/SE_FinancialAccount_BSAccounts.java |  
3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (13 lines):

diff -r 5f1bf59d2367 -r 7429fd2de740 
src/org/openbravo/erpCommon/ad_callouts/SE_FinancialAccount_BSAccounts.java
--- 
a/src/org/openbravo/erpCommon/ad_callouts/SE_FinancialAccount_BSAccounts.java   
    Fri Mar 18 15:45:30 2011 +0100
+++ 
b/src/org/openbravo/erpCommon/ad_callouts/SE_FinancialAccount_BSAccounts.java   
    Fri Mar 18 16:46:46 2011 +0100
@@ -91,7 +91,8 @@
       resultado.append("var 
calloutName='SE_FinancialAccount_BSAccounts';\n\n");
       resultado.append("var respuesta = new Array(");
       String strScript = "(function(){var confirmation = confirm(\'"
-          + Utility.messageBD(this, "BankStatementAccountWarning", 
vars.getLanguage())
+          + Utility.messageBD(this, "BankStatementAccountWarning", 
vars.getLanguage()).replaceAll(
+              "\\\\n", "\\\\\\\\n")
           + "\'); if(confirmation){submitCommandFormParameter(\'EXECUTE\', 
frmMain.inpLastFieldChanged, \'"
           + strChanged
           + "\', false, null, 
\'../ad_callouts/SE_FinancialAccount_BSAccounts.html\', \'hiddenFrame\', null, 
null, true);}})();";

------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to