Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Removed some unwanted debug statements.

  • Loading branch information...
commit a40f6e4356ab91a273b68134059970271f4dea62 1 parent 5514f23
@mjm authored
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'));
Please sign in to comment.
Something went wrong with that request. Please try again.