Added extra argument 'id' to deleteFilter function to send to delete action for deleting a filter.
This commit is contained in:
parent
67f2ddc404
commit
17555bf623
|
@ -79,13 +79,13 @@ function saveFilter( element )
|
|||
form.submit();
|
||||
}
|
||||
|
||||
function deleteFilter( element, name )
|
||||
function deleteFilter( element, id, name )
|
||||
{
|
||||
if ( confirm( deleteSavedFilterString+" '"+name+"'" ) )
|
||||
{
|
||||
var form = element.form;
|
||||
form.action.value = 'delete';
|
||||
form.fid.value = name;
|
||||
form.fid.value = id;
|
||||
submitToFilter( element, 1 );
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue