change form selector so it works on both save & save as (#4470)

This commit is contained in:
Frédéric Péters 2014-03-17 13:45:57 +01:00
parent 5dcf5d4d98
commit d5d3a107da
1 changed files with 1 additions and 1 deletions

View File

@ -413,7 +413,7 @@ function select_metatype(elem)
$('.save-as-widgets div').show();
return false;
});
$('form#pfwbsearchform').submit(function() {
$('#pfwbged-criterias').parents('form').submit(function() {
/* enable select (with criteria type) just before submit, so their values
* are sent to the server.
*/