
$(document).ready(function() {

    $("#show-modify-form").click(function () {
        $("#table-view").toggle();
        $(".form-view").toggle();
        $("#date-validation").text("");

        var text = $("#show-modify-form").text();
        var new_text = (text.trim() == "Edit") ? "Hide form" : "Edit";
        $("#show-modify-form").text(new_text);
    });

    $("#embargo-update-form").submit(function (event) {
        event.preventDefault();
        $('#update-embargo-modal').modal('show');
    });

    $("#embargo-update-modal").submit(function (event) {
        var data = $('#embargo-update-form').serialize();
        data["validation_only"]="False";
        $.ajax({
            url: window.templateVars.updateEmbargoUrl,
            type: "post",
            data: data,
            success: function (response) {
                location.reload();
            }
        }).fail(function (jqXHR, textStatus, error) {
            $("#date-validation").text(jqXHR.responseText);
        });
    });

    $("#datepicker").datepicker({
        format: "mm/dd/yyyy",
        startDate: "+0d"
    })
        .on("change", function (e) {
            $("#embargo-update-submit").removeClass('disabled');
            $("#date-validation").text('');
            var data = $('#embargo-update-form').serialize();
            data["validation_only"]="True";
            $.ajax({
                url: window.templateVars.updateEmbargoUrl,
                type: "post",
                data: data
            }).fail(function (jqXHR, textStatus, error) {
                $("#date-validation").text(jqXHR.responseText);
                $("#embargo-update-submit").addClass('disabled');
            });
        });
});

@@ -1189,19 +1189,12 @@
 t%22).
-removeClass
+prop
 ('di
@@ -1192,32 +1192,39 @@
 .prop('disabled'
+, false
 );%0A            $
@@ -1667,16 +1667,12 @@
 t%22).
-addClass
+prop
 ('di
@@ -1678,16 +1678,22 @@
 isabled'
+, true
 );%0A     

Add disabled prop instead of just class