﻿// NB: used by saved properties list view control also (would be savedpropertieslistview.js)

$(document).ready(function() {
$(".userNote").hide(); // Just in case any are displayed
$.ajax({
        type: "POST",
        url: "svc/UserNotesService.asmx/ListUserNotes",
        data: "{'userAccountId': ''}",
        contentType: "application/json; charset=utf-8",
        dataType: "json",
        success: function(response) {
            if (response.length > 0) {
                for (var i = 0; i < response.length; i++) {
                    $(".pid" + response[i]).show();
                }
            }
        }
    });
});
