suppress creating the directory update record for profile updates which are part of the normal import_xchan sequence - otherwise we get two for every change. Create it normally if we are called with a profile_update message and don't go through the whole import_xchan thing.

This commit is contained in:
friendica
2013-09-25 21:22:36 -07:00
parent 00e5ded1c8
commit 6519433301
6 changed files with 24 additions and 10 deletions

View File

@@ -119,6 +119,7 @@
var next_page = 1;
var page_load = true;
var loadingPage = false;
var pageHasMoreContent = true;
$(function() {
$.ajaxSetup({cache: false});
@@ -984,7 +985,7 @@ $(window).scroll(function () {
}
if($(window).scrollTop() + $(window).height() == $(document).height()) {
if(! loadingPage) {
if((pageHasMoreContent) && (! loadingPage)) {
$('#more').hide();
$('#no-more').hide();
// alert('scroll');