{# @copyright   Copyright (C) 2010-2024 Combodo SAS #}
{# @license     http://opensource.org/licenses/AGPL-3.0 #}

$("#do-update").on("click", function(oEvent) {
    $(this).prop("disabled", true);
    $("#cancel-update").prop("disabled", true);
    $(this).parents('form').trigger('submit');
    oEvent.preventDefault();
    oEvent.stopPropagation();
    return false;
});
