Skip to content

Commit

Permalink
fix: missing declaration for variable
Browse files Browse the repository at this point in the history
Signed-off-by: Thierry Bugier <[email protected]>
  • Loading branch information
btry committed May 6, 2020
1 parent 3ee813f commit b765930
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/scripts.js.php
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ function (response) {
}
).fail(
function () {
html = '<p><?php echo Toolbox::addslashes_deep(__('An error occured while querying forms', 'formcreator'))?></p>'
var html = '<p><?php echo Toolbox::addslashes_deep(__('An error occured while querying forms', 'formcreator'))?></p>'
$('#plugin_formcreator_wizard_forms').empty();
$('#plugin_formcreator_wizard_forms').prepend(html);
$('#plugin_formcreator_formlist').masonry({
Expand Down

0 comments on commit b765930

Please sign in to comment.