alecpl
2008-12-07 55cd3743ba008be84ac4b37797ae70f4f1a9b880
- Fix empty line before the signature in IE (#1485351)


2 files modified
11 ■■■■ changed files
CHANGELOG 1 ●●●● patch | view | raw | blame | history
program/js/app.js 10 ●●●● patch | view | raw | blame | history
CHANGELOG
@@ -5,6 +5,7 @@
----------
- Fix sorting of folders with more than 2 levels (#1485569)
- Fix search results page jumps in LDAP addressbook (#1485253)
- Fix empty line before the signature in IE (#1485351)
2008/12/04 (alec)
----------
program/js/app.js
@@ -2144,14 +2144,18 @@
      if (this.env.signatures)
        {
        // Append the signature as a div within the body
        var sigElem = editor.dom.get("_rc_sig");
        var sigElem = editor.dom.get('_rc_sig');
    var newsig = '';
    var htmlsig = true;
    
        if (!sigElem)
          {
          sigElem = editor.getDoc().createElement("div");
          sigElem.setAttribute("id", "_rc_sig");
      // add empty line before signature on IE
      if (bw.ie)
            editor.getBody().appendChild(editor.getDoc().createElement('br'));
      sigElem = editor.getDoc().createElement('div');
          sigElem.setAttribute('id', '_rc_sig');
          editor.getBody().appendChild(sigElem);
          }