diff --git a/app/Plugins/ExamplePlugin/resources/views/settings.blade.php b/app/Plugins/ExamplePlugin/resources/views/settings.blade.php index 895bfb047b..a93ad4a463 100644 --- a/app/Plugins/ExamplePlugin/resources/views/settings.blade.php +++ b/app/Plugins/ExamplePlugin/resources/views/settings.blade.php @@ -18,7 +18,7 @@ - + @empty @@ -79,8 +79,8 @@ document.getElementById('new-setting-value').value = ''; } - function deleteSetting(name) { - document.getElementById('settings-row-' + name).remove(); + function deleteSetting(nameId) { + document.getElementById('settings-row-' + nameId.substring(7)).remove(); }