Author: jleroux
Date: Thu Dec 22 21:59:47 2011
New Revision: 1222478
URL:
http://svn.apache.org/viewvc?rev=1222478&view=revLog:
A patch from Martin Kreidenweis "typo in javascript prevents live update of content"
https://issues.apache.org/jira/browse/OFBIZ-4515"success" is mistyped as "succes" in PurchaseInvoices.ftl and order.js
jleroux: I wonder why we, committers, are so long to commit such patches... :/
Modified:
ofbiz/trunk/applications/accounting/webapp/ap/invoices/PurchaseInvoices.ftl
ofbiz/trunk/applications/order/webapp/ordermgr/images/js/order.js
Modified: ofbiz/trunk/applications/accounting/webapp/ap/invoices/PurchaseInvoices.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/webapp/ap/invoices/PurchaseInvoices.ftl?rev=1222478&r1=1222477&r2=1222478&view=diff==============================================================================
--- ofbiz/trunk/applications/accounting/webapp/ap/invoices/PurchaseInvoices.ftl (original)
+++ ofbiz/trunk/applications/accounting/webapp/ap/invoices/PurchaseInvoices.ftl Thu Dec 22 21:59:47 2011
@@ -61,7 +61,7 @@ function getInvoiceRunningTotal() {
type: 'POST',
data: jQuery('#listPurchaseInvoices').serialize(),
async: false,
- succes: function(data) {
+ success: function(data) {
jQuery('#showInvoiceRunningTotal').html(data.invoiceRunningTotal);
}
});
Modified: ofbiz/trunk/applications/order/webapp/ordermgr/images/js/order.js
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/webapp/ordermgr/images/js/order.js?rev=1222478&r1=1222477&r2=1222478&view=diff==============================================================================
--- ofbiz/trunk/applications/order/webapp/ordermgr/images/js/order.js (original)
+++ ofbiz/trunk/applications/order/webapp/ordermgr/images/js/order.js Thu Dec 22 21:59:47 2011
@@ -22,7 +22,7 @@ function markOrderViewed() {
url: 'markOrderViewed',
type: "POST",
data: jQuery('#orderViewed').serialize(),
- succes: function(data) {
+ success: function(data) {
jQuery("#isViewed").fadeOut('fast');
jQuery("#viewed").fadeIn('fast');
}