Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-14287

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 3.1.7-RC1
    • 3.1.6
    • JavaScript / AJAX
    • None

      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);
      				}
      

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

              Created:
              Updated:
              Resolved: