Need to reset hidden fields manually.
authorJan Schneider <jan@horde.org>
Tue, 9 Mar 2010 17:49:27 +0000 (18:49 +0100)
committerJan Schneider <jan@horde.org>
Tue, 9 Mar 2010 17:50:35 +0000 (18:50 +0100)
kronolith/js/kronolith.js

index 1ffbc09..2b0f988 100644 (file)
@@ -2204,6 +2204,7 @@ KronolithCore = {
                 $('kronolithCalendar' + type + 'LinkImportExport').up('span').hide();
                 break;
             }
+            $('kronolithCalendar' + type + 'Id').clear();
             $('kronolithCalendar' + type + 'Color').setValue('#dddddd').setStyle({ backgroundColor: '#dddddd', color: '#000' });
             form.down('.kronolithCalendarDelete').hide();
             if (calendar && type == 'remote') {