Small update Calendars dialog
This commit is contained in:
parent
760b47a62f
commit
cbb36829e6
|
@ -58,6 +58,7 @@
|
||||||
.weekend_thead, .weekend_row{height: 20px;text-align: center;text-align: center;background: #F3F3F3;}
|
.weekend_thead, .weekend_row{height: 20px;text-align: center;text-align: center;background: #F3F3F3;}
|
||||||
.thisday{background: #FFFABC;text-align: center;margin: 0;padding: 0;vertical-align: top;height: 20px;}
|
.thisday{background: #FFFABC;text-align: center;margin: 0;padding: 0;vertical-align: top;height: 20px;}
|
||||||
.event {position:relative;}
|
.event {position:relative;}
|
||||||
.event_popup {display: none; position: absolute; width: 280px; height: 40px; padding: 10px; background: #eeeeee; color: #000000; border: 1px solid #1a1a1a; font-size: 90%;}
|
.popup {display: none; position: absolute; z-index: 1000; background: #eeeeee; color: #000000; border: 1px solid #1a1a1a; font-size: 90%;}
|
||||||
|
.event_popup {width: 280px; height: 40px; padding: 10px;}
|
||||||
|
|
||||||
input[type="button"].active {color: #0098E4}
|
input[type="button"].active {color: #0098E4}
|
||||||
|
|
|
@ -276,11 +276,12 @@ Calendar={
|
||||||
eventcontainer.append(event_holder);
|
eventcontainer.append(event_holder);
|
||||||
},
|
},
|
||||||
createEventPopup:function(e){
|
createEventPopup:function(e){
|
||||||
var event = $(this).data('event_info');
|
|
||||||
var popup = $(this).data('popup');
|
var popup = $(this).data('popup');
|
||||||
if (!popup){
|
if (!popup){
|
||||||
|
var event = $(this).data('event_info');
|
||||||
popup = $(document.createElement('div'));
|
popup = $(document.createElement('div'));
|
||||||
$(this).data('popup', popup).append(popup);
|
$(this).data('popup', popup).append(popup);
|
||||||
|
popup.addClass('popup')
|
||||||
popup.addClass('event_popup')
|
popup.addClass('event_popup')
|
||||||
.html(Calendar.UI.getEventPopupText(event));
|
.html(Calendar.UI.getEventPopupText(event));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue