summaryrefslogtreecommitdiffstats
path: root/settings/templates/users/part.userlist.php
diff options
context:
space:
mode:
authorringmaster <epithet@gmail.com>2014-05-05 22:41:54 -0400
committerArthur Schiwon <blizzz@owncloud.com>2014-06-02 12:53:58 +0200
commit747c01161530edf47c4e727250f592652e66ba31 (patch)
treed48468422eb68343e1f8ba68cf022a52f0ac4732 /settings/templates/users/part.userlist.php
parentf324aa7b240f8b06485250d583b905fda9c25d03 (diff)
downloadnextcloud-server-747c01161530edf47c4e727250f592652e66ba31.tar.gz
nextcloud-server-747c01161530edf47c4e727250f592652e66ba31.zip
More specific selectors, javascript cleanup.
* Assigned jQuery selector results to variables for speed. * Moved all .attr('data') calls to .data() calls. * Added :data(uid) selector. * Split the multiselect checkhandlers into separate functions. * De-duped click event on password change/img. * Used fluent interface on jQuery object for event binding. * Removed redundant tag names in class selectors. * Fixed incorrect date display for last login. * Added Userlist.has() to search for uid. * General code convention compliance fixes. to-do: Group dropdowns currently don't add the admin group after the search result, not sure why yet.
Diffstat (limited to 'settings/templates/users/part.userlist.php')
-rw-r--r--settings/templates/users/part.userlist.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/settings/templates/users/part.userlist.php b/settings/templates/users/part.userlist.php
index 047ebb46670..c74fdcc9efa 100644
--- a/settings/templates/users/part.userlist.php
+++ b/settings/templates/users/part.userlist.php
@@ -1,4 +1,4 @@
-<table class="hascontrols grid" data-groups="<?php p($_['allGroups']);?>">
+<table id="userlist" class="hascontrols grid" data-groups="<?php p($_['allGroups']);?>">
<thead>
<tr>
<?php if ($_['enableAvatars']): ?>
@@ -20,7 +20,7 @@
<tbody>
<?php foreach($_["users"] as $user): ?>
<tr data-uid="<?php p($user["name"]) ?>"
- data-displayName="<?php p($user["displayName"]) ?>">
+ data-displayname="<?php p($user["displayName"]) ?>">
<?php if ($_['enableAvatars']): ?>
<td class="avatar"><div class="avatardiv"></div></td>
<?php endif; ?>