that didn't work. try this?

This commit is contained in:
Michael Foster 2013-09-15 07:37:57 +10:00
parent 7bd3a1a3bf
commit e6934eceb2

View File

@ -142,10 +142,10 @@ var show_quick_reply = function(){
$('#body').val($(this).val()); $('#body').val($(this).val());
}); });
// Synchronise other inputs // 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[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()); $('form[name="post"] input[name="' + $(this).attr('name') + '"]').val($(this).val());
}); });
}; };