Page MenuHomePhabricator

[wmf.18-regression] Flow page - 'Reply' switches to no js mode
Closed, ResolvedPublic

Description

  1. In testwiki or mediawiki go to a Flow page and click on 'Reply' under any post.

The Console error will be briefly displayed:

Uncaught TypeError: $existingWidget.data(...).trigger is not a function
  at HTMLAnchorElement.<anonymous>
  at HTMLDiveElement.dispatch
  at HTMLDivElement.elemData.handle
  1. A user gets redirected to a permalink and the nojs mode will be displayed for the Reply area will be displayed.

nojs_Reply.gif (724×1 px, 1 MB)

  1. If a text area for a Reply is clicked, the behavior is as usual.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Thanks for your comment on the Gerrit change, I'm pretty sure that's exactly it.

Change 491670 had a related patch set uploaded (by Catrope; owner: Catrope):
[mediawiki/extensions/Flow@master] Unbreak reply clicks with existing widget

https://gerrit.wikimedia.org/r/491670

Change 491670 merged by jenkins-bot:
[mediawiki/extensions/Flow@master] Unbreak reply clicks with existing widget

https://gerrit.wikimedia.org/r/491670

I think we should SWAT this fix. I can do it at noon (EST) today if there's no objections.

Change 491744 had a related patch set uploaded (by Sbisson; owner: Catrope):
[mediawiki/extensions/Flow@wmf/1.33.0-wmf.18] Unbreak reply clicks with existing widget

https://gerrit.wikimedia.org/r/491744

Change 491744 merged by jenkins-bot:
[mediawiki/extensions/Flow@wmf/1.33.0-wmf.18] Unbreak reply clicks with existing widget

https://gerrit.wikimedia.org/r/491744