From 858cf749a9283684b215273e580a0522347be171 Mon Sep 17 00:00:00 2001 From: Marten Manthey Date: Wed, 31 Jan 2024 11:07:09 +0100 Subject: [PATCH] frontend step title bug fix --- CHANGELOG.md | 3 +++ assets/js/backend/wizard-admin.ts | 2 +- mondula-form-wizard.php | 4 ++-- package-lock.json | 40 +++++-------------------------- readme.txt | 5 +++- 5 files changed, 16 insertions(+), 38 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bd3184f..6d2f0a8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,9 @@ # Changelog This file hosts the complete changelog of this plugin. +## 1.7.15 +* frontend step title bug fix + ## 1.7.14 * removed option to add HTML to Paragraph block diff --git a/assets/js/backend/wizard-admin.ts b/assets/js/backend/wizard-admin.ts index d67fc90..eaa0572 100644 --- a/assets/js/backend/wizard-admin.ts +++ b/assets/js/backend/wizard-admin.ts @@ -1055,7 +1055,7 @@ declare var wp: any; log('titleOnChangeU', $this.val()); - $this.closest('.postbox').find('h1 > span').html($this.val().toString()); + $this.closest('.postbox').find('h1 > span').text($this.val().toString()); } diff --git a/mondula-form-wizard.php b/mondula-form-wizard.php index e8ecbe9..881a47f 100755 --- a/mondula-form-wizard.php +++ b/mondula-form-wizard.php @@ -1,7 +1,7 @@ settings)) { $instance->settings = Mondula_Form_Wizard_Settings::instance($instance); diff --git a/package-lock.json b/package-lock.json index f249f61..3dfd28a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -813,12 +813,6 @@ "readable-stream": "^2.3.5" } }, - "node_modules/cloneable-readable/node_modules/process-nextick-args": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.0.tgz", - "integrity": "sha512-MtEC1TqN0EU5nephaJ4rAtThHtC86dNN9qCuEhtshvpVBkAW5ZO7BASN9REnF9eoXGcRub+pFuKEpOHE+HbEMw==", - "dev": true - }, "node_modules/code-point-at": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/code-point-at/-/code-point-at-1.1.0.tgz", @@ -4688,12 +4682,6 @@ "util-deprecate": "~1.0.1" } }, - "node_modules/readable-stream/node_modules/process-nextick-args": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.0.tgz", - "integrity": "sha512-MtEC1TqN0EU5nephaJ4rAtThHtC86dNN9qCuEhtshvpVBkAW5ZO7BASN9REnF9eoXGcRub+pFuKEpOHE+HbEMw==", - "dev": true - }, "node_modules/readdirp": { "version": "2.2.1", "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-2.2.1.tgz", @@ -5566,9 +5554,9 @@ "dev": true }, "node_modules/typescript": { - "version": "3.9.7", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-3.9.7.tgz", - "integrity": "sha512-BLbiRkiBzAwsjut4x/dsibSTB6yWpwT5qWmC2OfuCg3GgVQCSgMs4vEctYPhsaGtd0AeuuHMkjZ2h2WG8MSzRw==", + "version": "3.9.10", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-3.9.10.tgz", + "integrity": "sha512-w6fIxVE/H1PkLKcCPsFqKE7Kv7QUwhU8qQY2MueZXWx5cPZdwFupLgKK3vntcK98BtNHZtAF4LA/yl2a7k8R6Q==", "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" @@ -6661,14 +6649,6 @@ "inherits": "^2.0.1", "process-nextick-args": "^2.0.0", "readable-stream": "^2.3.5" - }, - "dependencies": { - "process-nextick-args": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.0.tgz", - "integrity": "sha512-MtEC1TqN0EU5nephaJ4rAtThHtC86dNN9qCuEhtshvpVBkAW5ZO7BASN9REnF9eoXGcRub+pFuKEpOHE+HbEMw==", - "dev": true - } } }, "code-point-at": { @@ -9831,14 +9811,6 @@ "safe-buffer": "~5.1.1", "string_decoder": "~1.1.1", "util-deprecate": "~1.0.1" - }, - "dependencies": { - "process-nextick-args": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.0.tgz", - "integrity": "sha512-MtEC1TqN0EU5nephaJ4rAtThHtC86dNN9qCuEhtshvpVBkAW5ZO7BASN9REnF9eoXGcRub+pFuKEpOHE+HbEMw==", - "dev": true - } } }, "readdirp": { @@ -10563,9 +10535,9 @@ "dev": true }, "typescript": { - "version": "3.9.7", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-3.9.7.tgz", - "integrity": "sha512-BLbiRkiBzAwsjut4x/dsibSTB6yWpwT5qWmC2OfuCg3GgVQCSgMs4vEctYPhsaGtd0AeuuHMkjZ2h2WG8MSzRw==" + "version": "3.9.10", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-3.9.10.tgz", + "integrity": "sha512-w6fIxVE/H1PkLKcCPsFqKE7Kv7QUwhU8qQY2MueZXWx5cPZdwFupLgKK3vntcK98BtNHZtAF4LA/yl2a7k8R6Q==" }, "uglify-js": { "version": "2.8.29", diff --git a/readme.txt b/readme.txt index bd26253..ab15583 100644 --- a/readme.txt +++ b/readme.txt @@ -3,7 +3,7 @@ Contributors: mondula2016 Tags: multi, step, forms, multi step form, multi-step, steps, feedback, email, contact form, progress bar, form builder, dynamic, ajax, formular Requires at least: 5.0 Tested up to: 6.3.1 -Stable tag: 1.7.14 +Stable tag: 1.7.15 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html @@ -84,6 +84,9 @@ A. **[Find them here](https://mondula.com/en/multi-step-form-faqs/ "Multi Step == Changelog == += 1.7.15 = +* frontend step title bug fix + = 1.7.14 = * removed option to add HTML to Paragraph block