This commit is contained in:
Michael Foster 2013-09-15 07:40:49 +10:00
parent 07666f2a3f
commit 841dbaef90

View File

@ -143,10 +143,10 @@ var show_quick_reply = function(){
});
// Synchronise other inputs
$('form[name="post"] input[type="text"],select').bind('change input propertychange', function() {
$postForm.find('input[name="' + $(this).attr('name') + '"]').val($(this).val());
$postForm.find('[name="' + $(this).attr('name') + '"]').val($(this).val());
});
$postForm.find('input[type="text"],select').bind('change input propertychange', function() {
$('form[name="post"] input[name="' + $(this).attr('name') + '"]').val($(this).val());
$('form[name="post"] [name="' + $(this).attr('name') + '"]').val($(this).val());
});
};