From: Sven Schöling Date: Fri, 10 Feb 2017 12:58:17 +0000 (+0100) Subject: kivi.Part.js: clear Methode für Partpicker X-Git-Tag: release-3.5.4~1450 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=2096db3951150a55ebc4db00b20d8f606cdfaf34;p=kivitendo-erp.git kivi.Part.js: clear Methode für Partpicker --- 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 = {