Comment out automatic sync of name/mail/subj for now.

This commit is contained in:
Nicolas Stepien 2012-01-11 09:56:30 +01:00
parent 8638e455f0
commit b50564c70f
2 changed files with 3 additions and 9 deletions

View File

@ -1369,12 +1369,6 @@
};
if (conf['Remember Subject']) qr.inputs.subject = $('[name=subject]', qr.el);
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);
},
submit: function(e) {

View File

@ -1112,9 +1112,9 @@ textarea.field {
qr.inputs.subject = $ '[name=subject]', qr.el if conf['Remember Subject']
new qr.reply().load()
# sync between tabs
$.on window, 'storage', (e) ->
if match = e.key.match /qr_(.+)$/
qr.inputs[match[1]].value = JSON.parse e.newValue
# $.on window, 'storage', (e) ->
# if match = e.key.match /qr_(.+)$/
# qr.inputs[match[1]].value = JSON.parse e.newValue
$.add d.body, qr.el