From 5bdfb8ae4eed860ee8834cd9586df7769e811f46 Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Tue, 20 Jun 2017 09:09:21 -0400 Subject: [PATCH] add a question mark to delete confirm message and just submit the form --- web/skins/classic/views/js/filter.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/skins/classic/views/js/filter.js b/web/skins/classic/views/js/filter.js index 4f7944c4f..5980e34a7 100644 --- a/web/skins/classic/views/js/filter.js +++ b/web/skins/classic/views/js/filter.js @@ -66,10 +66,10 @@ function saveFilter( element ) { } function deleteFilter( element, name ) { - if ( confirm( deleteSavedFilterString+" '"+name+"'" ) ) { + if ( confirm( deleteSavedFilterString+" '"+name+"'?" ) ) { var form = element.form; form.elements['action'].value = 'delete'; - submitToFilter( element, 1 ); + form.submit(); } }