From 0c95b587946f9d881b71b1cfeadcf32175ba5459 Mon Sep 17 00:00:00 2001 From: Jan Schneider Date: Tue, 7 Dec 2010 18:19:36 +0100 Subject: [PATCH] Reset search field if closing view. --- kronolith/js/kronolith.js | 1 + 1 file changed, 1 insertion(+) 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' -- 2.11.0