reset groups on submit find

This commit is contained in:
Rolux 2010-07-02 19:37:29 +02:00
parent 17f5f7b1e3
commit 74205d988b

View file

@ -270,7 +270,7 @@ $(function() {
{ {
key: key, key: key,
value: value, value: value,
operator: "~" operator: ""
} }
], ],
operator: "" operator: ""
@ -445,9 +445,10 @@ $(function() {
findCondition = { findCondition = {
key: data.key == "all" ? "" : data.key, key: data.key == "all" ? "" : data.key,
value: data.value, value: data.value,
operator: "~" operator: ""
}; };
$.each(groups, function(i, group) { $.each(groups, function(i, group) {
groups[i].conditions = [];
$group[i].options({ $group[i].options({
request: function(options) { request: function(options) {
delete options.keys; delete options.keys;