| @@ -2,15 +2,8 @@ | ||
| 2 | 2 | /* global visualizer */ |
| 3 | 3 | /* global alert */ |
| 4 | 4 | |
| 5 | 5 | (function ($) { |
| 6 | - $(window).load(function(){ | |
| 7 | - // scroll to the selected chart type. | |
| 8 | - if($('label.type-label.type-label-selected').length > 0) { | |
| 9 | - $('label.type-label.type-label-selected')[0].scrollIntoView(); | |
| 10 | - } | |
| 11 | - }); | |
| 12 | - | |
| 13 | 6 | $(document).ready(function () { |
| 14 | 7 | init_permissions(); |
| 15 | 8 | |
| 16 | 9 | $('.type-radio').change(function () { |
| @@ -76,12 +69,8 @@ | ||
| 76 | 69 | |
| 77 | 70 | $('.more-info').click(function () { |
| 78 | 71 | $(this).parent().find('.viz-section-description:first').toggle(); |
| 79 | 72 | return false; |
| 80 | - }); | |
| 81 | - | |
| 82 | - $('#cancel-button').click(function () { | |
| 83 | - $('#cancel-form').submit(); | |
| 84 | 73 | }); |
| 85 | 74 | |
| 86 | 75 | }); |
| 87 | 76 | |