We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f24d4e0 commit 893b2ccCopy full SHA for 893b2cc
js/scripts.js
@@ -216,6 +216,13 @@ function updateCategoriesView() {
216
slinkyCategories = $('#plugin_formcreator_wizard_categories div:nth(2)').slinky({
217
label: true
218
});
219
+
220
+ // Show label of parent in the 'back' item
221
+ document.querySelectorAll('#plugin_formcreator_wizard_categories .slinky-menu a.back').forEach(item => {
222
+ var parentLabel = item.closest('ul').closest('li').querySelector('a').innerText;
223
+ item.innerText = parentLabel;
224
+ });
225
226
$('#plugin_formcreator_wizard_categories a.back').on('click',
227
function(event) {
228
var parentItem = $(event.target).parentsUntil('#plugin_formcreator_wizard_categories .slinky-menu > ul', 'li')[1];
0 commit comments