]> source.dussan.org Git - nextcloud-server.git/commit
More specific selectors, javascript cleanup.
authorringmaster <epithet@gmail.com>
Tue, 6 May 2014 02:41:54 +0000 (22:41 -0400)
committerArthur Schiwon <blizzz@owncloud.com>
Mon, 2 Jun 2014 10:53:58 +0000 (12:53 +0200)
commit747c01161530edf47c4e727250f592652e66ba31
treed48468422eb68343e1f8ba68cf022a52f0ac4732
parentf324aa7b240f8b06485250d583b905fda9c25d03
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.
settings/js/users/users.js
settings/templates/users/part.setquota.php
settings/templates/users/part.userlist.php