]> source.dussan.org Git - nextcloud-server.git/commitdiff
remove OC.Router.registerLoadedCallback()
authorThomas Müller <thomas.mueller@tmit.eu>
Sun, 2 Mar 2014 22:45:23 +0000 (23:45 +0100)
committerThomas Müller <thomas.mueller@tmit.eu>
Sun, 2 Mar 2014 22:45:23 +0000 (23:45 +0100)
settings/js/users.js

index 6b5447c767438168356f225e2d1f7fad3af80d58..284976d3bad565c57c3d464b466a2381d18e88e2 100644 (file)
@@ -372,9 +372,7 @@ $(document).ready(function () {
 
        UserList.doSort();
        UserList.availableGroups = $('#content table').data('groups');
-       OC.Router.registerLoadedCallback(function() {
-               $(window).scroll(function(e) {UserList._onScroll(e);});
-       });
+       $(window).scroll(function(e) {UserList._onScroll(e);});
        $('table').after($('<div class="loading" style="height: 200px; visibility: hidden;"></div>'));
 
        $('select[multiple]').each(function (index, element) {