Skip to content
Snippets Groups Projects
Verified Commit 261698d9 authored by Théodore Biadala's avatar Théodore Biadala
Browse files

Issue #3446504 by Utkarsh_33, smustgrave, Tom Konda: Mismatch between...

Issue #3446504 by Utkarsh_33, smustgrave, Tom Konda: Mismatch between implementation and description for Drupal.Message.prototype.remove()

(cherry picked from commit d4e1e52a)
parent bd85e4ec
No related branches found
No related tags found
3 merge requests!11185Issue #3477324 by andypost, alexpott: Fix usage of str_getcsv() and fgetcsv() for PHP 8.4,!9944Issue #3483353: Consider making the createCopy config action optionally fail...,!8325Update file Sort.php
Pipeline #180983 passed with warnings
Pipeline: drupal

#181026

    Pipeline: drupal

    #181018

      Pipeline: drupal

      #181005

        +1
        ......@@ -139,16 +139,16 @@
        }
        /**
        * Removes messages from the message area.
        * Removes a message element from the message area.
        *
        * @name Drupal.Message~messageDefinition.remove
        *
        * @param {string} id
        * Index of the message to remove, as returned by
        * The unique identifier of the message to remove, as returned by
        * {@link Drupal.Message~messageDefinition.add}.
        *
        * @return {number}
        * Number of removed messages.
        * @return {Element}
        * Returns the removed message element.
        */
        remove(id) {
        return this.messageWrapper.removeChild(this.select(id));
        ......
        0% Loading or .
        You are about to add 0 people to the discussion. Proceed with caution.
        Finish editing this message first!
        Please register or to comment