From: Jan Schneider Date: Tue, 7 Dec 2010 17:19:36 +0000 (+0100) Subject: Reset search field if closing view. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=0c95b587946f9d881b71b1cfeadcf32175ba5459;p=horde.git Reset search field if closing view. --- diff --git a/kronolith/js/kronolith.js b/kronolith/js/kronolith.js index 104faf8d9..2d2e5f66d 100644 --- a/kronolith/js/kronolith.js +++ b/kronolith/js/kronolith.js @@ -756,6 +756,7 @@ KronolithCore = { } }); if (this.view && this.view != loc) { + $('kronolithSearchTerm').setValue($('kronolithSearchTerm').readAttribute('default')); $('kronolithView' + this.view.capitalize()).fade({ duration: this.effectDur, queue: 'end'