add a question mark to delete confirm message and just submit the form
This commit is contained in:
parent
5df4494c6c
commit
5bdfb8ae4e
|
@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue