Permalink
Browse files

remove slidebar from result form

  • Loading branch information...
1 parent 20e9e81 commit 8cbe821a8a3ca53cdedee909d9ef2ca2f371a67a @rogergraves committed Apr 29, 2012
Showing with 0 additions and 16 deletions.
  1. +0 −16 app/views/layouts/_result.html.erb
@@ -6,22 +6,6 @@
window.name = "result_form";
-$(function() {
- var select = $( "#result_severity" );
- var slider = $( "<div id='slider'></div>" ).insertAfter( select ).slider({
- min: 1,
- max: 6,
- range: "min",
- value: select[ 0 ].selectedIndex + 1,
- slide: function( event, ui ) {
- select[ 0 ].selectedIndex = ui.value - 1;
- }
- });
- $( "#result_severity" ).change(function() {
- slider.slider( "value", this.selectedIndex + 1 );
- });
-});
-
function setButton() {
fileInputField = "result_image";

0 comments on commit 8cbe821

Please sign in to comment.