Remove redundant keyword
[MAILPOET-2632]
This commit is contained in:
committed by
Jack Kitterhing
parent
0c62da9664
commit
2d957c3836
@@ -140,7 +140,7 @@ class Widget extends \WP_Widget {
|
|||||||
<a href="javascript:;" onClick="createSubscriptionForm()" class="mailpoet_form_new"><?php WPFunctions::get()->_e('Create a new form', 'mailpoet'); ?></a>
|
<a href="javascript:;" onClick="createSubscriptionForm()" class="mailpoet_form_new"><?php WPFunctions::get()->_e('Create a new form', 'mailpoet'); ?></a>
|
||||||
</p>
|
</p>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
public function createSubscriptionForm() {
|
function createSubscriptionForm() {
|
||||||
MailPoet.Ajax.post({
|
MailPoet.Ajax.post({
|
||||||
endpoint: 'forms',
|
endpoint: 'forms',
|
||||||
action: 'create',
|
action: 'create',
|
||||||
@@ -159,7 +159,7 @@ class Widget extends \WP_Widget {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user