From: Jan Schneider Date: Fri, 21 May 2010 10:23:53 +0000 (+0200) Subject: Catch focus failures if field is inactive. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=f9cad981463c36dbae508e31be0ea20456a43c99;p=horde.git Catch focus failures if field is inactive. --- diff --git a/kronolith/js/kronolith.js b/kronolith/js/kronolith.js index 0b525faf6..5f1cde21f 100644 --- a/kronolith/js/kronolith.js +++ b/kronolith/js/kronolith.js @@ -1242,7 +1242,9 @@ KronolithCore = { field = tab.down('input'); } if (field) { - field.focus(); + try { + field.focus(); + } catch (e) {} } },