details:   https://code.openbravo.com/erp/devel/pi/rev/10e86ff54eb3
changeset: 20715:10e86ff54eb3
user:      Eduardo Argal Guibert <eduardo.argal <at> openbravo.com>
date:      Tue Jul 09 11:05:54 2013 +0200
summary:   Fixes Jenkins » int-sales-procurement-pgsql » #740

diffstat:

 web/js/messages.js |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (16 lines):

diff -r 1a0de77a8c0d -r 10e86ff54eb3 web/js/messages.js
--- a/web/js/messages.js        Tue Jul 09 10:14:15 2013 +0200
+++ b/web/js/messages.js        Tue Jul 09 11:05:54 2013 +0200
@@ -193,7 +193,11 @@
   } else {
     msgCode = value;
   }
-  
submitXmlHttpRequestUrl(((responseFunction==null)?messageResponse:responseFunction),
 (appUrl + "/businessUtility/MessageJS.html?inpvalue=" + escape(msgCode) + 
"&inpparams=" + escape(isc.JSONEncoder.echo(params))), false, paramXMLReq)
+  if(params){
+    
submitXmlHttpRequestUrl(((responseFunction==null)?messageResponse:responseFunction),
 (appUrl + "/businessUtility/MessageJS.html?inpvalue=" + escape(msgCode) + 
"&inpparams=" + escape(isc.JSONEncoder.echo(params))), false, paramXMLReq)
+  }else{
+    
submitXmlHttpRequestUrl(((responseFunction==null)?messageResponse:responseFunction),
 (appUrl + "/businessUtility/MessageJS.html?inpvalue=" + escape(msgCode)), 
false, paramXMLReq)
+  }
 }
 
 function getDataBaseStandardMessage(value, responseFunction) {

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to