From 402263bd5c647bb9c9fa49903449ef0a211f1198 Mon Sep 17 00:00:00 2001 From: Thomas Mueller Date: Fri, 1 Feb 2013 00:33:14 +0100 Subject: [PATCH] fix #1276 - use registerLoadedCallback() --- settings/js/users.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/settings/js/users.js b/settings/js/users.js index 424d00b51a..ce49eb69c3 100644 --- a/settings/js/users.js +++ b/settings/js/users.js @@ -237,12 +237,14 @@ var UserList = { }); } } -} +}; $(document).ready(function () { $('tbody tr:last').bind('inview', function (event, isInView, visiblePartX, visiblePartY) { - UserList.update(); + OC.Router.registerLoadedCallback(function(){ + UserList.update(); + }); }); function setQuota(uid, quota, ready) { @@ -257,7 +259,6 @@ $(document).ready(function () { ); } - $('select[multiple]').each(function (index, element) { UserList.applyMultiplySelect($(element)); });