/*! * jQuery UI Labels @VERSION * https://jqueryui.com * * Copyright OpenJS Foundation and other contributors * Released under the MIT license. * https://jquery.org/license */ //>>label: labels //>>group: Core //>>description: Find all the labels associated with a given input //>>docs: https://api.jqueryui.com/labels/ ( function( factory ) { "use strict"; if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. define( [ "jquery", "./version" ], factory ); } else { // Browser globals factory( jQuery ); } } )( function( $ ) { "use strict"; return $.fn.labels = function() { var ancestor, selector, id, labels, ancestors; if ( !this.length ) { return this.pushStack( [] ); } // Check control.labels first if ( this[ 0 ].labels && this[ 0 ].labels.length ) { return this.pushStack( this[ 0 ].labels ); } // If `control.labels` is empty - e.g. inside of document fragments - find // the labels manually labels = this.eq( 0 ).parents( "label" ); // Look for the label based on the id id = this.attr( "id" ); if ( id ) { // We don't search against the document in case the element // is disconnected from the DOM ancestor = this.eq( 0 ).parents().last(); // Get a full set of top level ancestors ancestors = ancestor.add( ancestor.length ? ancestor.siblings() : this.siblings() ); // Create a selector for the label based on the id selector = "label[for='" + CSS.escape( id ) + "']"; labels = labels.add( ancestors.find( selector ).addBack( selector ) ); } // Return whatever we have found for labels return this.pushStack( labels ); }; } ); action-wording Nextcloud server, a safe home for all your data: https://github.com/nextcloud/serverwww-data
aboutsummaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines
* fix(jest): nextcloud/files Node structuredClonebackport/49398/stable30skjnldsv2024-12-102-1/+19
* fix(files): dav Node type declarationskjnldsv2024-12-103-6/+6
* chore: compile assetsskjnldsv2024-12-10119-239/+179
* chore: update `@nextcloud/files` to `3.10.0`skjnldsv2024-12-102-5/+5
* fix(files): properly update paths and folder children on node moveskjnldsv2024-12-103-57/+112
* Fix(l10n): Update translations from TransifexNextcloud bot2024-12-10182-140/+270
* Merge pull request #49737 from nextcloud/release/30.0.4_rc1v30.0.4rc1Arthur Schiwon2024-12-091-2/+2
|\
| * build(hub): 30.0.4 RC1release/30.0.4_rc1Arthur Schiwon2024-12-091-2/+2
|/
* Merge pull request #49724 from nextcloud/backport/49442/stable30F. E Noel Nfebe2024-12-099-20/+29
|\
| * chore(assets): Recompile assetsbackport/49442/stable30nextcloud-command2024-12-098-7/+7
| * fix(files_sharing): Stop infinite loop blocking link share requestsnfebe2024-12-091-13/+22
|/
* Merge pull request #49714 from nextcloud/dependabot/npm_and_yarn/stable30/nex...dependabot[bot]2024-12-0933-38/+37
|\
| * chore(assets): Recompile assetsdependabot/npm_and_yarn/stable30/nextcloud/sharing-0.2.4nextcloud-command2024-12-0931-32/+32
| * chore(deps): bump @nextcloud/sharing from 0.2.3 to 0.2.4dependabot[bot]2024-12-092-6/+5
|/
* Fix(l10n): Update translations from TransifexNextcloud bot2024-12-098-16/+20
* Fix(l10n): Update translations from TransifexNextcloud bot2024-12-0874-46/+998
* Merge pull request #49715 from nextcloud/dependabot/npm_and_yarn/stable30/pin...dependabot[bot]2024-12-0717-21/+21
|\
| * chore(assets): Recompile assetsnextcloud-command2024-12-0715-16/+16
| * chore(deps): bump pinia from 2.2.6 to 2.2.8dependabot[bot]2024-12-072-5/+5
* | Merge pull request #49716 from nextcloud/dependabot/npm_and_yarn/stable30/cyp...dependabot[bot]2024-12-072-333/+254
|\ \
| * | chore(deps-dev): bump cypress-split from 1.24.0 to 1.24.7dependabot[bot]2024-12-072-333/+254
| |/
* | Merge pull request #49712 from nextcloud/dependabot/npm_and_yarn/stable30/bab...dependabot[bot]2024-12-072-23/+10
|\ \
| * | chore(deps-dev): bump @babel/node from 7.25.0 to 7.25.9dependabot[bot]2024-12-072-23/+10
| |/
* | Merge pull request #49713 from nextcloud/dependabot/npm_and_yarn/stable30/nex...dependabot[bot]2024-12-072-8/+26
|\ \ | |/ |/|
| * chore(deps-dev): bump @nextcloud/cypressdependabot[bot]2024-12-072-8/+26
|/
* Fix(l10n): Update translations from TransifexNextcloud bot2024-12-0730-0/+92
* Merge pull request #49691 from nextcloud/backport/49688/stable30Kate2024-12-061-1/+1
|\
| * fix(activity): make emails for link share uploads true by defaultskjnldsv2024-12-061-1/+1
|/
* Merge pull request #49216 from nextcloud/backport/49209/stable30Ferdinand Thiessen2024-12-068-27/+35
|\
| * chore(assets): Recompile assetsnextcloud-command2024-12-064-6/+6
| * fix(app-store): Add back legacy store API used for update and removalFerdinand Thiessen2024-12-064-21/+29
|/
* Fix(l10n): Update translations from TransifexNextcloud bot2024-12-0676-8/+418
* Merge pull request #49665 from nextcloud/release/30.0.3v30.0.3Arthur Schiwon2024-12-051-2/+2
|\
| * build(hub): 30.0.3Arthur Schiwon2024-12-051-2/+2
|/
* Fix(l10n): Update translations from TransifexNextcloud bot2024-12-05206-212/+414
* Merge pull request #49642 from nextcloud/backport/49633/stable30Joas Schilling2024-12-041-2/+1
|\
| * fix(setupcheck): Disable PhpMaxFileSize setupcheck for nowJoas Schilling2024-12-041-2/+1
|/
* Fix(l10n): Update translations from TransifexNextcloud bot2024-12-04104-144/+490
* Fix(l10n): Update translations from TransifexNextcloud bot2024-12-0210-0/+40
* Fix(l10n): Update translations from TransifexNextcloud bot2024-12-0112-26/+64
* Fix(l10n): Update translations from TransifexNextcloud bot2024-11-3014-18/+36
* Merge pull request #49565 from nextcloud/release/30.0.3_rc2v30.0.3rc2John Molakvoæ2024-11-291-2/+2
|\
| * build(hub): 30.0.3 RC2skjnldsv2024-11-291-2/+2
|/
* Fix(l10n): Update translations from TransifexNextcloud bot2024-11-29132-2244/+2244
* Merge pull request #49524 from nextcloud/release/30.0.3_rc1v30.0.3rc1John Molakvoæ2024-11-281-2/+2
|\
| * build(hub): 30.0.3 RC1skjnldsv2024-11-271-2/+2
* | Merge pull request #49547 from nextcloud/backport/49493/stable30Louis2024-11-28