Skip to content

Commit

Permalink
Removed tableH.js
Browse files Browse the repository at this point in the history
  • Loading branch information
tsherif committed Nov 12, 2014
1 parent 7f41ccf commit 9ed82cc
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 237 deletions.
1 change: 0 additions & 1 deletion BrainPortal/app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@

<!-- Scripts -->

<%= javascript_include_tag "tableH" %>
<%= javascript_include_tag "cbrain" %>
<%= javascript_include_tag "rails" %>

Expand Down
15 changes: 9 additions & 6 deletions BrainPortal/public/javascripts/cbrain.js
Original file line number Diff line number Diff line change
Expand Up @@ -703,13 +703,16 @@
return false;
});

//Highlighting on ressource list tables.
$(document).delegate("table.resource_list", "mouseout", function() {
highlightTableRowVersionA(0);
//Highlighting on resource list tables.
$(document).delegate(".row_highlight", "mouseenter", function() {
var element = $(this);
element.data("original-color", element.css("background-color"));
element.css("background-color", "#FFFFE5");
});

$(document).delegate(".row_highlight", "hover", function() {
highlightTableRowVersionA(this, '#FFFFE5');

$(document).delegate(".row_highlight", "mouseleave", function() {
var element = $(this);
element.css("background-color", element.data("original-color"));
});

$(document).delegate(".ajax_link", "ajax:success", function(event, data, status, xhr) {
Expand Down
224 changes: 0 additions & 224 deletions BrainPortal/public/javascripts/tableH.js

This file was deleted.

6 changes: 0 additions & 6 deletions CBRAIN_licenses.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,6 @@
some CSS stylesheet rules. CBRAIN's issue tracking
was also provided by a Redmine server.

- tableH.js
F. Permadi 2005.
Highlights table row
Copyright (C) F. Permadi
See licence details in the files.

- tablesorter.js 2.0.5
Christan Bach
http://tablesorter.com/docs/index.html
Expand Down

0 comments on commit 9ed82cc

Please sign in to comment.