Merge pull request #1404 from owncloud/fixing-1276-master
fix #1276 - use registerLoadedCallback()
This commit is contained in:
commit
88f4aced38
|
@ -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));
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue