diff options
| author | Michael Foster <savetheinternet@tinyboard.org> | 2013-09-15 07:37:57 +1000 |
|---|---|---|
| committer | Michael Foster <savetheinternet@tinyboard.org> | 2013-09-15 07:37:57 +1000 |
| commit | e6934eceb2983e5f138373b340b0bd3ec0a33865 (patch) | |
| tree | 14027ad8f2a7b971d6ad2474f2b4944ea1721814 | |
| parent | 7bd3a1a3bff80086e9f16b2ade8ea94ea99a8c6f (diff) | |
that didn't work. try this?
| -rw-r--r-- | js/quick-reply.js | 4 |
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()); }); }; |
