add a question mark to delete confirm message and just submit the form

This commit is contained in:
Isaac Connor 2017-06-20 09:09:21 -04:00
parent 5df4494c6c
commit 5bdfb8ae4e
1 changed files with 2 additions and 2 deletions

View File

@ -66,10 +66,10 @@ function saveFilter( element ) {
} }
function deleteFilter( element, name ) { function deleteFilter( element, name ) {
if ( confirm( deleteSavedFilterString+" '"+name+"'" ) ) { if ( confirm( deleteSavedFilterString+" '"+name+"'?" ) ) {
var form = element.form; var form = element.form;
form.elements['action'].value = 'delete'; form.elements['action'].value = 'delete';
submitToFilter( element, 1 ); form.submit();
} }
} }