/* Minification failed. Returning unminified contents.
(1,1): run-time error CSS1019: Unexpected token, found '$'
(1,2): run-time error CSS1019: Unexpected token, found '('
(1,12): run-time error CSS1031: Expected selector, found '('
(1,12): run-time error CSS1025: Expected comma or open brace, found '('
(31,2): run-time error CSS1019: Unexpected token, found ')'
 */
$(function () {
       
    $('.btnNotifyMsg').click(function () {

        var redirecturl = $(this).attr('data-link');
        var id = $(this).attr('data-id');
        var url = $('#notifyContent').attr('data-link');
        
        $.ajax({
            url: url,
            type: 'post',
            data: { id: id },
            cache: false,
            dataType: 'json',
            success: function (data) {

                if (data.Unauthorize == true) {
                    location.href = data.URL;
                }
                else {
                    location.href = redirecturl; 
                }
            },
            error: function (e) { alert(e.responseText); }
        });


        return false;
    });
    
});



 
