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

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