Shipment reg JS

This commit is contained in:
Karl Cordes 2011-05-02 16:59:14 +10:00
parent c43e4efc24
commit 2ab2466c42

View file

@ -14,7 +14,7 @@ $(function() {
$.post('/shipments/ajax_add', thisShipmentInputs, function(data) { $.post('/shipments/ajax_add', thisShipmentInputs, function(data) {
$( "#add-form" ).dialog('close'); $( "#add-form" ).dialog('close');
//window.location.reload(); //Change this to fetch a new copy of the table and update a <div>. window.location.reload(); //Change this to fetch a new copy of the table and update a <div>.
}); });
}, },
@ -45,7 +45,7 @@ $(function() {
$.post('/shipments/ajax_edit', thisShipmentInputs, function(data) { $.post('/shipments/ajax_edit', thisShipmentInputs, function(data) {
$( "#edit-form" ).dialog('close'); $( "#edit-form" ).dialog('close');
// window.location.reload(); //Change this to fetch a new copy of the table and update a <div>. window.location.reload(); //Change this to fetch a new copy of the table and update a <div>.
}); });
}, },