diff options
author | blizzz <blizzz@owncloud.com> | 2013-02-01 03:13:23 -0800 |
---|---|---|
committer | blizzz <blizzz@owncloud.com> | 2013-02-01 03:13:23 -0800 |
commit | 88f4aced38e7be205841bf56549cc9a1ef3303b2 (patch) | |
tree | b0802bf1c24f7fe73ce5105603e508b43cf1b93f /settings | |
parent | cc73568d68acffeba6d649c8447983880b7dab5d (diff) | |
parent | 402263bd5c647bb9c9fa49903449ef0a211f1198 (diff) | |
download | nextcloud-server-88f4aced38e7be205841bf56549cc9a1ef3303b2.tar.gz nextcloud-server-88f4aced38e7be205841bf56549cc9a1ef3303b2.zip |
Merge pull request #1404 from owncloud/fixing-1276-master
fix #1276 - use registerLoadedCallback()
Diffstat (limited to 'settings')
-rw-r--r-- | settings/js/users.js | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/settings/js/users.js b/settings/js/users.js index 424d00b51a7..ce49eb69c3c 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)); }); |