summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--settings/js/users.js7
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));
});