From 56b5155f5b67ce2ba379f854870ea5e8848cc905 Mon Sep 17 00:00:00 2001 From: Jan Schneider Date: Mon, 7 Sep 2009 15:34:55 +0200 Subject: [PATCH] Fix not resetting the quick search form after an error. --- kronolith/js/kronolith.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/kronolith/js/kronolith.js b/kronolith/js/kronolith.js index 9cd0b25f4..304e750da 100644 --- a/kronolith/js/kronolith.js +++ b/kronolith/js/kronolith.js @@ -2132,7 +2132,9 @@ KronolithCore = { }), function(r) { this._loadEventsCallback(r); - $('kronolithQuickinsertQ').value = ''; + if (Object.isUndefined(r.msgs)) { + $('kronolithQuickinsertQ').value = ''; + } }.bind(this)); }, -- 2.11.0