Skip to content

Commit b765930

Browse files
committed
fix: missing declaration for variable
Signed-off-by: Thierry Bugier <tbugier@teclib.com>
1 parent 3ee813f commit b765930

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/scripts.js.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ function (response) {
321321
}
322322
).fail(
323323
function () {
324-
html = '<p><?php echo Toolbox::addslashes_deep(__('An error occured while querying forms', 'formcreator'))?></p>'
324+
var html = '<p><?php echo Toolbox::addslashes_deep(__('An error occured while querying forms', 'formcreator'))?></p>'
325325
$('#plugin_formcreator_wizard_forms').empty();
326326
$('#plugin_formcreator_wizard_forms').prepend(html);
327327
$('#plugin_formcreator_formlist').masonry({

0 commit comments

Comments
 (0)