You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2011/10/14 20:11:57 UTC

svn commit: r1183451 - in /ofbiz/trunk: applications/order/webapp/ordermgr/entry/catalog/configproductdetail.ftl specialpurpose/ecommerce/webapp/ecommerce/catalog/configproductdetail.ftl

Author: jleroux
Date: Fri Oct 14 18:11:56 2011
New Revision: 1183451

URL: http://svn.apache.org/viewvc?rev=1183451&view=rev
Log:
Following a message on dev ML removes a whole useless commented out block certainly forgotten in both configproductdetail.ftl files

Modified:
    ofbiz/trunk/applications/order/webapp/ordermgr/entry/catalog/configproductdetail.ftl
    ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/catalog/configproductdetail.ftl

Modified: ofbiz/trunk/applications/order/webapp/ordermgr/entry/catalog/configproductdetail.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/webapp/ordermgr/entry/catalog/configproductdetail.ftl?rev=1183451&r1=1183450&r2=1183451&view=diff
==============================================================================
--- ofbiz/trunk/applications/order/webapp/ordermgr/entry/catalog/configproductdetail.ftl (original)
+++ ofbiz/trunk/applications/order/webapp/ordermgr/entry/catalog/configproductdetail.ftl Fri Oct 14 18:11:56 2011
@@ -154,15 +154,6 @@ function getConfigDetails() {
            data: jQuery('configFormId').serialize(),
            type: "POST",
            success: function(data) {
-               if (data._ERROR_MESSAGE_LIST_ != undefined) {
-                   //console.log(data._ERROR_MESSAGE_LIST_);
-                   //alert(data._ERROR_MESSAGE_LIST_);
-                }else if (data._ERROR_MESSAGE_ != undefined) {
-                   //console.log(data._ERROR_MESSAGE_);
-                   //alert(data._ERROR_MESSAGE_);
-                }else {
-                  //console.log(data.totalPrice);
-                  //console.log(data.configId);
                   var totalPrice = data.totalPrice;
                   var configId = data.configId;
                   document.getElementById('totalPrice').innerHTML = totalPrice;

Modified: ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/catalog/configproductdetail.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/catalog/configproductdetail.ftl?rev=1183451&r1=1183450&r2=1183451&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/catalog/configproductdetail.ftl (original)
+++ ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/catalog/configproductdetail.ftl Fri Oct 14 18:11:56 2011
@@ -148,15 +148,6 @@ function getConfigDetails(event) {
             type: 'POST',
             data: jQuery('#configFormId').serialize(),
             success: function(data) {
-                if (data._ERROR_MESSAGE_LIST_ != undefined) {
-                   //console.log(data._ERROR_MESSAGE_LIST_);
-                   //alert(data._ERROR_MESSAGE_LIST_);
-                }else if (data._ERROR_MESSAGE_ != undefined) {
-                   //console.log(data._ERROR_MESSAGE_);
-                   //alert(data._ERROR_MESSAGE_);
-                }else {
-                  //console.log(data.totalPrice);
-                  //console.log(data.configId);
                   var totalPrice = data.totalPrice;
                   var configId = data.configId;
                   document.getElementById('totalPrice').innerHTML = totalPrice;