summaryrefslogtreecommitdiff
path: root/js/quick-reply.js
diff options
context:
space:
mode:
authorMichael Foster <savetheinternet@tinyboard.org>2013-09-15 07:37:57 +1000
committerMichael Foster <savetheinternet@tinyboard.org>2013-09-15 07:37:57 +1000
commite6934eceb2983e5f138373b340b0bd3ec0a33865 (patch)
tree14027ad8f2a7b971d6ad2474f2b4944ea1721814 /js/quick-reply.js
parent7bd3a1a3bff80086e9f16b2ade8ea94ea99a8c6f (diff)
that didn't work. try this?
Diffstat (limited to 'js/quick-reply.js')
-rw-r--r--js/quick-reply.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/quick-reply.js b/js/quick-reply.js
index 808abf0f..b1a92a56 100644
--- a/js/quick-reply.js
+++ b/js/quick-reply.js
@@ -142,10 +142,10 @@ var show_quick_reply = function(){
$('#body').val($(this).val());
});
// Synchronise other inputs
- $('form[name="post"] input:not([type="submit"]):not([type="password"]):not([type="file"])').bind('change input propertychange', function() {
+ $('form[name="post"] input:not[type="text"],select').bind('change input propertychange', function() {
$postForm.find('input[name="' + $(this).attr('name') + '"]').val($(this).val());
});
- $postForm.find('input:not([type="submit"]):not([type="password"]):not([type="file"])').bind('change input propertychange', function() {
+ $postForm.find('input[type="text"],select').bind('change input propertychange', function() {
$('form[name="post"] input[name="' + $(this).attr('name') + '"]').val($(this).val());
});
};