Content deleted Content added
m fix toggle event name |
fix responseWikiText capitalization, do not preview when no response template is chosen |
||
Line 262:
<wvui-button type="primary" action="destructive" :disabled="haveSubmitted" v-on:click="cancelHandler">Cancel</wvui-button>
<wvui-toggle-button :is-active="showPreview" :disabled="!canSubmit" v-on:change="onTogglePreview">{{ previewToggleLabel }}</wvui-toggle-button>
<!-- v-if so that we don't call the api to parse and render a preview when its not needed, do not render with no response template chosen -->
<preview-renderer v-if="showPreview && canSubmit" :wikitext="
</div>`
};
|