19 lines
658 B
JavaScript
19 lines
658 B
JavaScript
|
|
function fillMRU() {
|
|
$('#ayMRU').empty();
|
|
$('#ayMRU').append('<li><strong>Loading...</strong></li>');
|
|
$.ajax({
|
|
type: 'POST',
|
|
url: baseSiteURL + 'ayList/GetMRUList',
|
|
dataType: "json",
|
|
contentType: "application/json",
|
|
success: function (result) {
|
|
var items = [];
|
|
$.each(result, function (id, item) {
|
|
items.push('<li><a href="' + item.Url + '">' + item.Label + '</a></li>');
|
|
});
|
|
$('#ayMRU').empty();
|
|
$('#ayMRU').append(items.join(''));
|
|
}
|
|
});
|
|
} |