From 2096db3951150a55ebc4db00b20d8f606cdfaf34 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Fri, 10 Feb 2017 13:58:17 +0100 Subject: [PATCH] =?utf8?q?kivi.Part.js:=20clear=20Methode=20f=C3=BCr=20Par?= =?utf8?q?tpicker?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- js/kivi.Part.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/js/kivi.Part.js b/js/kivi.Part.js index 4a55a1799..ff3ce981a 100644 --- a/js/kivi.Part.js +++ b/js/kivi.Part.js @@ -493,6 +493,9 @@ namespace('kivi.Part', function(ns) { code.apply(this, args) else kivi.run(code, args); + }, + clear: function() { + this.set_item({}); } }; ns.Picker.prototype.STATES = { -- 2.20.1