diff options
author | Aleksander Machniak <alec@alec.pl> | 2013-03-26 19:36:47 +0100 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2013-03-26 19:38:07 +0100 |
commit | 099d2b9fd4af3c7e7f1568af3c01c0b2e52cd9c3 (patch) | |
tree | 61ef7c58e07f18dc1c1977938b3533e4401a43ab /program/js/app.js | |
parent | 321d8b06fb32d6fa6bc991f7fbb95d63bdb70390 (diff) |
Remove sig_above configuration option, use reply_mode only (#1489001)
Diffstat (limited to 'program/js/app.js')
-rw-r--r-- | program/js/app.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/program/js/app.js b/program/js/app.js index 8bb4142ee..a53086431 100644 --- a/program/js/app.js +++ b/program/js/app.js @@ -3419,7 +3419,7 @@ function rcube_webmail() sig = this.env.signatures[sig].text; sig = sig.replace(/\r\n/g, '\n'); - p = this.env.sig_above ? message.indexOf(sig) : message.lastIndexOf(sig); + p = this.env.top_posting ? message.indexOf(sig) : message.lastIndexOf(sig); if (p >= 0) message = message.substring(0, p) + message.substring(p+sig.length, message.length); } @@ -3428,7 +3428,7 @@ function rcube_webmail() sig = this.env.signatures[id].text; sig = sig.replace(/\r\n/g, '\n'); - if (this.env.sig_above) { + if (this.env.top_posting) { if (p >= 0) { // in place of removed signature message = message.substring(0, p) + sig + message.substring(p, message.length); cursor_pos = p - 1; @@ -3472,7 +3472,7 @@ function rcube_webmail() sigElem = doc.createElement('div'); sigElem.setAttribute('id', '_rc_sig'); - if (this.env.sig_above) { + if (this.env.top_posting) { // if no existing sig and top posting then insert at caret pos editor.getWin().focus(); // correct focus in IE & Chrome |