21 lines
633 B
JavaScript
21 lines
633 B
JavaScript
/**
|
|
* TNT OFFICIAL MODULE FOR PRESTASHOP
|
|
*
|
|
* @author GFI Informatique <www.gfi.fr>
|
|
* @copyright 2016 GFI Informatique, 2016 TNT
|
|
* @license https://opensource.org/licenses/MIT MIT License
|
|
*/
|
|
|
|
$(document).ready(function () {
|
|
$("#form-order button").on('click', function () {
|
|
var $elmtForm = $("#form-order");
|
|
var strAttrAction = $elmtForm.attr('action');
|
|
if (strAttrAction) {
|
|
strAttrAction = strAttrAction.replace('&submitBulkgetManifestorder', '').replace('&submitBulkgetBTorder', '');
|
|
$elmtForm.attr('action', strAttrAction);
|
|
}
|
|
});
|
|
|
|
});
|
|
|