Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
62285a81
Commit
62285a81
authored
Aug 28, 2015
by
webchick
Browse files
Issue
#2531602
by eiriksm: JSDoc simpletest module
parent
f3354f58
Changes
1
Hide whitespace changes
Inline
Side-by-side
core/modules/simpletest/simpletest.js
View file @
62285a81
...
...
@@ -11,6 +11,9 @@
* Collapses table rows followed by group rows on the test listing page.
*
* @type {Drupal~behavior}
*
* @prop {Drupal~behaviorAttach} attach
* Attach collapse behavior on the test listing page.
*/
Drupal
.
behaviors
.
simpleTestGroupCollapse
=
{
attach
:
function
(
context
)
{
...
...
@@ -34,6 +37,9 @@
* Toggles test checkboxes to match the group checkbox.
*
* @type {Drupal~behavior}
*
* @prop {Drupal~behaviorAttach} attach
* Attaches behavior for selecting all tests in a group.
*/
Drupal
.
behaviors
.
simpleTestSelectAll
=
{
attach
:
function
(
context
)
{
...
...
@@ -75,6 +81,9 @@
* Source text: .table-filter-text-source
*
* @type {Drupal~behavior}
*
* @prop {Drupal~behaviorAttach} attach
* Attaches the filter behavior the the text input element.
*/
Drupal
.
behaviors
.
simpletestTableFilterByText
=
{
attach
:
function
(
context
)
{
...
...
@@ -95,8 +104,8 @@
// Filter if the length of the query is at least 3 characters.
if
(
query
.
length
>=
3
)
{
// Indicate that a search has been performed, and hide the
"select all"
// checkbox.
// Indicate that a search has been performed, and hide the
//
"select all"
checkbox.
searched
=
true
;
$
(
'
#simpletest-form-table thead th.select-all input
'
).
hide
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment