From ea47dcf30e5a47c6c710eb92721ad5b65b721f36 Mon Sep 17 00:00:00 2001 From: Karl Cordes Date: Tue, 17 May 2011 16:13:52 +1000 Subject: [PATCH] Submitting a shipment reloads the page --- webroot/js/shipment_index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webroot/js/shipment_index.js b/webroot/js/shipment_index.js index 2edc9c3c..0f9e6af5 100644 --- a/webroot/js/shipment_index.js +++ b/webroot/js/shipment_index.js @@ -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
. }); },