rm#ticketform').addClass('edit')
    });

    $('form#ticketeditform').ajaxForm({
        type: 'POST',
        dataType: 'json',
        data: $('#ticketeditform').serialize(),
        url: '/tickets/comment/edit/',
        success: function (data) {
            if (data.error == false) {
                open_dialog_with_url(data.response, 'Success!!!', ".")
            } else {
                $('div.error').remove();
                if (data.response_message) {
                    open_dialog(data.respon