details: /erp/devel/pi/rev/92cc443d6765
changeset: 10368:92cc443d6765
user: Iván Perdomo <ivan.perdomo <at> openbravo.com>
date: Thu Feb 03 19:57:34 2011 +0100
summary: Fixes issue 15855: Fixes references to form parameter
diffstat:
web/js/utils.js | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (21 lines):
diff -r 0ad082cba101 -r 92cc443d6765 web/js/utils.js
--- a/web/js/utils.js Thu Feb 03 19:37:54 2011 +0100
+++ b/web/js/utils.js Thu Feb 03 19:57:34 2011 +0100
@@ -699,7 +699,7 @@
var f = form || document.forms[0];
if (bolValidation!=null && bolValidation==true){
try { initialize_MessageBox('messageBoxID'); } catch (ignored) {}
- if (!depurar_validate_wrapper(action, form, "")) return false;
+ if (!depurar_validate_wrapper(action, f, "")) return false;
}
if (bolCheckChanges==null) bolCheckChanges = false;
if (isCallOut==null) isCallOut = false;
@@ -714,7 +714,7 @@
reloadFunction(strFunction);
return false;
}
- if (bolCheckChanges && !checkForChanges(form)) return false;
+ if (bolCheckChanges && !checkForChanges(f)) return false;
if (confirmAction(action)) {
if (newAction != null) f.action = newAction;
// Deprecated in 2.50, This code is only here fore backwards compatibility
------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires
February 28th, so secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits