Content deleted Content added
disable debug |
try linking to section on reload via click handler |
||
Line 164:
selectedResponse: 'none',
commentValue: '',
reloadUrl: mw.util.getUrl( mw.config.get( 'wgPageName' ) ),▼
// Debug information of the state
Line 185 ⟶ 182:
onCommentChange: function ( newComment ) {
this.commentValue = newComment;
},
reloadPage: function () {
// Needs to be a function instead of using href so that we
// can force the page to reload
___location.assign(
);
},
submitHandler: function () {
Line 229 ⟶ 233:
<ul v-show="haveSubmitted">
<li>Submitting...</li>
<li v-show="editMade">Success! <a v-on:
<li v-show="editError">Uh-oh, something went wrong. Please check the console for details.</li>
</ul>
|