[Pkg-owncloud-commits] [owncloud] 120/131: Trigger "apprendered" event in users page

David Prévot taffit at moszumanska.debian.org
Tue Aug 11 15:58:44 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to annotated tag v8.1.1
in repository owncloud.

commit c411dcd30ac0e22102980ea55bf96a5b81312b71
Author: Vincent Petry <pvince81 at owncloud.com>
Date:   Wed Jul 29 11:01:51 2015 +0200

    Trigger "apprendered" event in users page
    
    This will properly update the controls bar width and display the search
    box initially.
---
 settings/js/users/users.js | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/settings/js/users/users.js b/settings/js/users/users.js
index 5fd4e9d..3b25bcd 100644
--- a/settings/js/users/users.js
+++ b/settings/js/users/users.js
@@ -880,4 +880,8 @@ $(document).ready(function () {
 	// trigger loading of users on startup
 	UserList.update(UserList.currentGid, initialUserCountLimit);
 
+	_.defer(function() {
+		$('#app-content').trigger($.Event('apprendered'));
+	});
+
 });

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list