This commit is contained in:
19
source/ri/ri/Scripts/ayMRU.js
Normal file
19
source/ri/ri/Scripts/ayMRU.js
Normal file
@@ -0,0 +1,19 @@
|
||||
|
||||
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(''));
|
||||
}
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user