Set class name for close button.
authorJan Schneider <jan@horde.org>
Wed, 17 Mar 2010 14:24:35 +0000 (15:24 +0100)
committerJan Schneider <jan@horde.org>
Wed, 17 Mar 2010 14:24:35 +0000 (15:24 +0100)
horde/js/calendar.js

index 69cb56c..5bd9035 100644 (file)
@@ -238,7 +238,7 @@ var Horde_Calendar =
             table = new Element('TABLE', { className: 'hordeCalendarPopup', cellSpacing: 0 }).insert(thead).insert(new Element('TBODY'));
 
         // Title bar.
-        link = new Element('A', { href: '#' }).insert('x');
+        link = new Element('A', { href: '#', className: 'hordeCalendarClose' }).insert('x');
         link.observe('click', this.hideCal.bind(this));
         thead.insert(new Element('TR').insert(new Element('TD', { colSpan: 7, className: 'rightAlign' }).insert(link)));