Comment out automatic sync of name/mail/subj for now.
This commit is contained in:
parent
8638e455f0
commit
b50564c70f
@ -1369,12 +1369,6 @@
|
|||||||
};
|
};
|
||||||
if (conf['Remember Subject']) qr.inputs.subject = $('[name=subject]', qr.el);
|
if (conf['Remember Subject']) qr.inputs.subject = $('[name=subject]', qr.el);
|
||||||
new qr.reply().load();
|
new qr.reply().load();
|
||||||
$.on(window, 'storage', function(e) {
|
|
||||||
var match;
|
|
||||||
if (match = e.key.match(/qr_(.+)$/)) {
|
|
||||||
return qr.inputs[match[1]].value = JSON.parse(e.newValue);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
return $.add(d.body, qr.el);
|
return $.add(d.body, qr.el);
|
||||||
},
|
},
|
||||||
submit: function(e) {
|
submit: function(e) {
|
||||||
|
|||||||
@ -1112,9 +1112,9 @@ textarea.field {
|
|||||||
qr.inputs.subject = $ '[name=subject]', qr.el if conf['Remember Subject']
|
qr.inputs.subject = $ '[name=subject]', qr.el if conf['Remember Subject']
|
||||||
new qr.reply().load()
|
new qr.reply().load()
|
||||||
# sync between tabs
|
# sync between tabs
|
||||||
$.on window, 'storage', (e) ->
|
# $.on window, 'storage', (e) ->
|
||||||
if match = e.key.match /qr_(.+)$/
|
# if match = e.key.match /qr_(.+)$/
|
||||||
qr.inputs[match[1]].value = JSON.parse e.newValue
|
# qr.inputs[match[1]].value = JSON.parse e.newValue
|
||||||
|
|
||||||
$.add d.body, qr.el
|
$.add d.body, qr.el
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user