Avoid an empty space being added to the editor; add watermark background (#3241)

This commit is contained in:
Thomas Bruederli 2014-08-11 15:35:13 +02:00
parent 07f05a102b
commit 666055db46
2 changed files with 4 additions and 1 deletions

View file

@ -848,7 +848,7 @@ function rcube_kolab_notes_ui(settings)
var html = data.html || data.description;
// convert plain text to HTML and make URLs clickable
if (!data.html || !html.match(/<(html|body)/)) {
if (html != '' && (!data.html || !html.match(/<(html|body)/))) {
html = text2html(html);
}

View file

@ -129,6 +129,9 @@
left: 252px;
right: 0;
bottom: 0px;
background-image: url(../../../../skins/larry/images/watermark.jpg);
background-position: center;
background-repeat: no-repeat;
}
.notesdialog #notedetailsbox {