Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-14287

Loading indicator not removed after confirming action that does not produce a message

    XMLWordPrintable

Details

    Description

      The AJAX loading indicator is not removed when the resulting response from confirming an action does not contain a message (using MESSAGE_TITLE and MESSAGE_TEXT).

      The code in question is the else below from core.js. It closes the dark layer but not the loading indicator.

      				// If a confirmation is not required, display an alert and call the
      				// callbacks.
      				if (typeof res.MESSAGE_TITLE !== 'undefined') {
      					alert = phpbb.alert(res.MESSAGE_TITLE, res.MESSAGE_TEXT);
      				} else {
      					$dark.fadeOut(phpbb.alertTime);
      				}
      

      Attachments

        Activity

          People

            prototech prototech [X] (Inactive)
            prototech prototech [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: