From 2ab2466c420d7d14ba2d50ff934e86d24c1e0b6d Mon Sep 17 00:00:00 2001 From: Karl Cordes Date: Mon, 2 May 2011 16:59:14 +1000 Subject: [PATCH] Shipment reg JS --- webroot/js/shipment_index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webroot/js/shipment_index.js b/webroot/js/shipment_index.js index 9e31fc74..c0dce791 100644 --- a/webroot/js/shipment_index.js +++ b/webroot/js/shipment_index.js @@ -14,7 +14,7 @@ $(function() { $.post('/shipments/ajax_add', thisShipmentInputs, function(data) { $( "#add-form" ).dialog('close'); - //window.location.reload(); //Change this to fetch a new copy of the table and update a
. + window.location.reload(); //Change this to fetch a new copy of the table and update a
. }); }, @@ -45,7 +45,7 @@ $(function() { $.post('/shipments/ajax_edit', thisShipmentInputs, function(data) { $( "#edit-form" ).dialog('close'); - // window.location.reload(); //Change this to fetch a new copy of the table and update a
. + window.location.reload(); //Change this to fetch a new copy of the table and update a
. }); },