From: Chuck Hagenbuch Date: Mon, 31 Aug 2009 17:50:26 +0000 (-0400) Subject: add a cancel button to the quickSave form. Would be even better if the ESC key cancel... X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=24ddb7c45960101e6743142c4fdf36ecc2d83a72;p=horde.git add a cancel button to the quickSave form. Would be even better if the ESC key cancelled this also --- diff --git a/kronolith/js/kronolith.js b/kronolith/js/kronolith.js index afaa483dc..7e84e54be 100644 --- a/kronolith/js/kronolith.js +++ b/kronolith/js/kronolith.js @@ -1773,6 +1773,12 @@ KronolithCore = { e.stop(); return; + case 'kronolithQuickinsertCancel': + $('kronolithQuickinsert').fade(); + $('kronolithQuickinsertQ').value = ''; + e.stop(); + return; + case 'kronolithEventDelete': var cal = $F('kronolithEventCalendar'), eventid = $F('kronolithEventId'); diff --git a/kronolith/templates/index/index.inc b/kronolith/templates/index/index.inc index 8b95d9e2a..00fafdaa7 100644 --- a/kronolith/templates/index/index.inc +++ b/kronolith/templates/index/index.inc @@ -130,7 +130,8 @@ require dirname(__FILE__) . '/agenda.inc'; diff --git a/kronolith/themes/screen.css b/kronolith/themes/screen.css index 7e61a8947..412dc8bea 100644 --- a/kronolith/themes/screen.css +++ b/kronolith/themes/screen.css @@ -512,6 +512,9 @@ span#kronolithQuickEvent { padding: 5px; margin: 5px 5px 5px 15px; } +#kronolithQuickinsertQ { + width: 150px; +} /* Navigation bar */ #kronolithBar {