Permalink
Browse files

dont depend on order of the clicked versions

  • Loading branch information...
1 parent f8594b0 commit dfb453c7f9f7e70bfc8a189f9af2736e3fa8b636 @technoweenie technoweenie committed Aug 12, 2010
Showing with 0 additions and 4 deletions.
  1. +0 −4 lib/gollum/frontend/public/javascript/gollum.js
@@ -206,7 +206,6 @@ $(function(){
$('ul.inline-tabs').tabs();
var selectedRevisions = [];
- var baseCompareUrl = null;
// disable submit button js for accessiblity
$('form#history input[type=submit]').attr('disabled', true);
@@ -229,9 +228,6 @@ $(function(){
$('form#history input[type=submit]').attr('disabled', true)
if (selectedRevisions.length == 2) {
- if(!baseCompareUrl) baseCompareUrl = $('form#history').attr('action')
- var compareUrl = baseCompareUrl + "/" + selectedRevisions[0] + '...' + selectedRevisions[1]
- $('form#history').attr('action', compareUrl).attr('method', 'GET')
$('form#history input[type=submit]').attr('disabled', false)
var on = false
$('form#history tr.commit').each(function() {

0 comments on commit dfb453c

Please sign in to comment.