fix #1276 - use registerLoadedCallback()
This commit is contained in:
parent
b20529ee44
commit
402263bd5c
1 changed files with 4 additions and 3 deletions
|
@ -237,13 +237,15 @@ var UserList = {
|
|||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
$(document).ready(function () {
|
||||
|
||||
$('tbody tr:last').bind('inview', function (event, isInView, visiblePartX, visiblePartY) {
|
||||
OC.Router.registerLoadedCallback(function(){
|
||||
UserList.update();
|
||||
});
|
||||
});
|
||||
|
||||
function setQuota(uid, quota, ready) {
|
||||
$.post(
|
||||
|
@ -257,7 +259,6 @@ $(document).ready(function () {
|
|||
);
|
||||
}
|
||||
|
||||
|
||||
$('select[multiple]').each(function (index, element) {
|
||||
UserList.applyMultiplySelect($(element));
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue