Fix double-click issue for all IE6-8
This commit is contained in:
parent
2a8a59f3db
commit
f72e63058a
2 changed files with 10 additions and 6 deletions
|
@ -330,7 +330,7 @@ function rcube_calendar_ui(settings)
|
||||||
$dialog.dialog({
|
$dialog.dialog({
|
||||||
modal: false,
|
modal: false,
|
||||||
resizable: !bw.ie6,
|
resizable: !bw.ie6,
|
||||||
closeOnEscape: !bw.ie6,
|
closeOnEscape: (!bw.ie6 && !bw.ie7), // disable for performance reasons
|
||||||
title: null,
|
title: null,
|
||||||
close: function() {
|
close: function() {
|
||||||
$dialog.dialog('destroy').hide();
|
$dialog.dialog('destroy').hide();
|
||||||
|
@ -648,7 +648,7 @@ function rcube_calendar_ui(settings)
|
||||||
// open jquery UI dialog
|
// open jquery UI dialog
|
||||||
$dialog.dialog({
|
$dialog.dialog({
|
||||||
modal: true,
|
modal: true,
|
||||||
resizable: !bw.ie6,
|
resizable: (!bw.ie6 && !bw.ie7), // disable for performance reasons
|
||||||
closeOnEscape: false,
|
closeOnEscape: false,
|
||||||
title: rcmail.gettext((action == 'edit' ? 'edit_event' : 'new_event'), 'calendar'),
|
title: rcmail.gettext((action == 'edit' ? 'edit_event' : 'new_event'), 'calendar'),
|
||||||
close: function() {
|
close: function() {
|
||||||
|
@ -794,7 +794,7 @@ function rcube_calendar_ui(settings)
|
||||||
$dialog.dialog({
|
$dialog.dialog({
|
||||||
modal: true,
|
modal: true,
|
||||||
resizable: true,
|
resizable: true,
|
||||||
closeOnEscape: true,
|
closeOnEscape: (!bw.ie6 && !bw.ie7),
|
||||||
title: rcmail.gettext('scheduletime', 'calendar'),
|
title: rcmail.gettext('scheduletime', 'calendar'),
|
||||||
close: function() {
|
close: function() {
|
||||||
if (bw.ie6)
|
if (bw.ie6)
|
||||||
|
@ -2219,9 +2219,9 @@ function rcube_calendar_ui(settings)
|
||||||
// add proprietary css styles if not IE
|
// add proprietary css styles if not IE
|
||||||
if (!bw.ie)
|
if (!bw.ie)
|
||||||
$('div.fc-content').addClass('rcube-fc-content');
|
$('div.fc-content').addClass('rcube-fc-content');
|
||||||
|
|
||||||
// IE7 supresses 2nd click event when double-clicking
|
// IE supresses 2nd click event when double-clicking
|
||||||
if (bw.ie7) {
|
if (bw.ie && bw.vendver < 9) {
|
||||||
$('div.fc-content').bind('dblclick', function(e){
|
$('div.fc-content').bind('dblclick', function(e){
|
||||||
if (!$(this).hasClass('fc-widget-header') && fc.fullCalendar('getView').name != 'table') {
|
if (!$(this).hasClass('fc-widget-header') && fc.fullCalendar('getView').name != 'table') {
|
||||||
var date = fc.fullCalendar('getDate');
|
var date = fc.fullCalendar('getDate');
|
||||||
|
|
|
@ -48,6 +48,10 @@ html #calendartoolbar a.buttonPas {
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.fc-event-temp .fc-event-bg {
|
||||||
|
display: none; /* nested opacity filters while dragging don't work */
|
||||||
|
}
|
||||||
|
|
||||||
#schedule-event-time {
|
#schedule-event-time {
|
||||||
filter: alpha(opacity=40);
|
filter: alpha(opacity=40);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue