Browse files

Removed some unwanted debug statements.

  • Loading branch information...
1 parent 5514f23 commit a40f6e4356ab91a273b68134059970271f4dea62 @mjm committed Jan 30, 2012
Showing with 0 additions and 5 deletions.
  1. +0 −5 app/views/votes/edit.js.erb
View
5 app/views/votes/edit.js.erb
@@ -1,17 +1,12 @@
(function() {
this.html("<%= escape_javascript render(partial: 'vote', locals: {vote: @vote}) %>");
- console.log("1");
var submit = this.find('input:submit');
- console.log("2");
var form = this.find('form');
- console.log("3");
submit.hide();
- console.log("4");
this.dialog('option', 'buttons', [{
text: submit.val(),
click: function() {
form.submit();
}
}]).dialog('open');
- console.log("5");
}).call($('#comment-dialog'));

0 comments on commit a40f6e4

Please sign in to comment.