Remove disabled, it would affect the look of the button

[MAILPOET-2602]
This commit is contained in:
Pavel Dohnal
2020-02-12 11:05:08 +01:00
committed by Jack Kitterhing
parent 646b75c5db
commit c6d6db6726

View File

@ -109,7 +109,6 @@ class Forms extends APIEndpoint {
public function previewEditor($data = []) {
// html
$html = $this->formRenderer->renderHTML($data);
$html = str_replace('type="submit"', 'type="submit" disabled', $html);
// convert shortcodes
$html = WPFunctions::get()->doShortcode($html);