mw.feedback: Use standard OOjs UI dialog error handling
authorBartosz Dziewoński <matma.rex@gmail.com>
Fri, 30 Sep 2016 19:38:26 +0000 (21:38 +0200)
committerBartosz Dziewoński <matma.rex@gmail.com>
Fri, 30 Sep 2016 19:54:12 +0000 (19:54 +0000)
commit7196fafcdcbe658caf9ffde508717714b9cf4510
tree8fe2af11ec2282b20fb56918378dd51242237c47
parent27c6e7f2555f775e18debfa12effb30c2c4422e5
mw.feedback: Use standard OOjs UI dialog error handling

Previously, we'd close the original dialog on failure and display a
new one, which had the unfortunate effect of losing the user's input
(which presumably was not saved due to the failure).

Bug: T147056
Change-Id: I8893658807f6a584d6db0a84bc508d87ef508c7e
languages/i18n/en.json
languages/i18n/qqq.json
resources/Resources.php
resources/src/mediawiki/mediawiki.feedback.js