nudge : added js code to enable ajax
darcs-hash:20081117173144-099f7-b475f072ddc36e03143e05698e86186955566db9.gz
This commit is contained in:
@@ -89,6 +89,7 @@ $(document).ready(function(){
|
||||
$("#nudge").ajaxForm ({ dataType: 'xml',
|
||||
success: function(xml) { $("#nudge").replaceWith(document._importNode($("#nudge_response", xml).get(0),true)); }
|
||||
});
|
||||
$("#nudge").each(addAjaxHidden);
|
||||
$("#nudge .submit").bind('click', function(e) { $(this).addClass("processing"); });
|
||||
});
|
||||
|
||||
@@ -104,4 +105,4 @@ function doreply(nick,id) {
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user