Fix accidentally visible uidialog in notes (#3236)

This commit is contained in:
Thomas Bruederli 2014-07-31 16:49:27 +02:00
parent 5cdeed5c68
commit cec5f19cb4
5 changed files with 13 additions and 3 deletions

View file

@ -396,6 +396,12 @@ function rcube_calendar_ui(settings)
if ($dialog.is(':ui-dialog')) if ($dialog.is(':ui-dialog'))
$dialog.dialog('close'); $dialog.dialog('close');
// remove status-* classes
$dialog.removeClass(function(i, oldclass) {
var oldies = String(oldclass).split(' ');
return $.grep(oldies, function(cls) { return cls.indexOf('status-') === 0 || cls.indexOf('sensitivity-') === 0 }).join(' ');
});
// convert start/end dates if not done yet by fullcalendar // convert start/end dates if not done yet by fullcalendar
if (typeof event.start == 'string') if (typeof event.start == 'string')
event.start = parseISO8601(event.start); event.start = parseISO8601(event.start);

View file

@ -373,7 +373,7 @@ pre {
right: 4px; right: 4px;
} }
div.uidialog { .calendarmain div.uidialog {
display: none; display: none;
} }

View file

@ -466,7 +466,7 @@ body.calendarmain #searchmenulink {
width: 15px; width: 15px;
} }
div.uidialog { .calendarmain div.uidialog {
display: none; display: none;
} }

View file

@ -22,6 +22,10 @@
background-position: 0 -26px; background-position: 0 -26px;
} }
.notesview div.uidialog {
display: none;
}
.notesview #sidebar { .notesview #sidebar {
position: absolute; position: absolute;
top: 0; top: 0;

View file

@ -26,7 +26,7 @@ ul.toolbarmenu li span.icon.taskadd,
background-position: -4px -90px; background-position: -4px -90px;
} }
div.uidialog { .tasklistview div.uidialog {
display: none; display: none;
} }