https://bugzilla.wikimedia.org/show_bug.cgi?id=65513

            Bug ID: 65513
           Summary: VisualEditor: Disentangle MWSaveDialog and
                    ViewPageTarget
           Product: VisualEditor
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Technical Debt
          Assignee: jforrester+veteambztick...@wikimedia.org
          Reporter: roan.katt...@gmail.com
                CC: jforres...@wikimedia.org, ryasm...@wikimedia.org
       Web browser: ---
   Mobile Platform: ---

Right now, the way that the save button is disabled when you click it is that
MWSaveDialog listens to the button's click event, in response to that it fires
the 'save' event, ViewPageTarget gets that event, reaches into the save dialog
and disables the button.

This is only one of many insane things about the totally dysfunctional
MWSaveDialog - ViewPageTarget relationship; the whole way these two interact
should be refactored.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to