From 323276257671e08bb8e1b11c97d6686a28205126 Mon Sep 17 00:00:00 2001 From: rolux Date: Sun, 16 Feb 2014 07:06:30 +0000 Subject: [PATCH] Filter: add empty update handler and value method --- source/Ox.UI/js/Form/Filter.js | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/source/Ox.UI/js/Form/Filter.js b/source/Ox.UI/js/Form/Filter.js index 20d02bd1..ce9655e7 100644 --- a/source/Ox.UI/js/Form/Filter.js +++ b/source/Ox.UI/js/Form/Filter.js @@ -35,7 +35,12 @@ Ox.Filter = function(options, self) { sortKeys: [], viewKeys: [] }) - .options(options || {}); + .options(options || {}) + .update({ + query: function() { + // ... + } + }); // fixme: this should not happen, but some lists // have their query set to {} or their query operator set to '' @@ -845,6 +850,10 @@ Ox.Filter = function(options, self) { } }; + that.value = function() { + // ... + }; + return that; };