Released windows auth, connect to ES.Services.
This commit is contained in:
parent
2569e55609
commit
d29c347ff4
294 changed files with 329583 additions and 2315 deletions
|
@ -0,0 +1,11 @@
|
|||
function recalculateResourseHeight() {
|
||||
$(document).ready(function () {
|
||||
var heights = $(".element-container").map(function () {
|
||||
return $(this).height();
|
||||
}).get(),
|
||||
|
||||
maxHeight = Math.max.apply(null, heights);
|
||||
|
||||
$(".element-container").height(maxHeight);
|
||||
});
|
||||
}
|
|
@ -0,0 +1,29 @@
|
|||
$(document).ready(function () {
|
||||
$(window).load(function () {
|
||||
GetResources();
|
||||
});
|
||||
$(window).scroll(function () {
|
||||
if (($(window).scrollTop() + 1) >= ($(document).height() - $(window).height())) {
|
||||
GetResources();
|
||||
};
|
||||
});
|
||||
});
|
||||
|
||||
var oldResourcesDivHeight = $('#resourcesDiv').height();
|
||||
|
||||
function GetResources() {
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: '/FileSystem/ShowAdditionalContent',
|
||||
data: '',
|
||||
dataType: "html",
|
||||
success: function (result) {
|
||||
var domElement = $(result);
|
||||
$('#resourcesDiv').append(domElement);
|
||||
if ($(document).height() == $(window).height() && oldResourcesDivHeight != $('#resourcesDiv').height()) {
|
||||
GetResources();
|
||||
oldResourcesDivHeight = $('#resourcesDiv').height();
|
||||
};
|
||||
}
|
||||
});
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue