Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
markfisher committed Aug 16, 2011
1 parent 947a9ad commit 54f43ee
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions rabbit-chat/src/main/webapp/WEB-INF/views/chat.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -45,17 +45,17 @@
$.ajaxSetup({cache:false});
start();
$('#chatForm').submit(
function() {
$.post(
$('#chatForm').attr("action"),
$('#chatForm').serialize(),
function(request) {
if (request) {
confirm(request.id);
}
});
$('#text').val("");
return false;
function() {
$.post(
$('#chatForm').attr("action"),
$('#chatForm').serialize(),
function(request) {
if (request) {
confirm(request.id);
}
});
$('#text').val("");
return false;
});
});
</script>
Expand Down

0 comments on commit 54f43ee

Please sign in to comment.