This commit is contained in:
Sarven Capadisli 2009-10-30 16:02:22 +00:00
parent e134f7ceb1
commit 93506faaa6

View File

@ -158,7 +158,7 @@ var SN = { // StatusNet
alert(errorThrown || textStatus); alert(errorThrown || textStatus);
}, },
success: function(data, textStatus) { success: function(data, textStatus) {
form_new = document._importNode($('form', data).get(0), true); form_new = document._importNode($('form', data)[0], true);
if (form_new.length > 0) { if (form_new.length > 0) {
$('#'+form_id).replaceWith(form_new); $('#'+form_id).replaceWith(form_new);
$('#'+form_new.id).each(function() { SN.U.FormXHR($(this)); }); $('#'+form_new.id).each(function() { SN.U.FormXHR($(this)); });