Skip to content
This repository has been archived by the owner on Nov 9, 2022. It is now read-only.

Commit

Permalink
Merge pull request #628 from rhdunn/test-initial-disable-styling
Browse files Browse the repository at this point in the history
Fix #571 Set the disabled style when loading /test
  • Loading branch information
dmcassel committed Jul 20, 2016
2 parents 54c1f74 + ccfa46c commit bed961a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/test/js/tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,8 @@ $(document).ready(function(){

$('input.cb').each(function() {
if (this.id !== 'checkall') {
disableParent(this, 'tr');

$(this).click(function(event) {

disableParent(this, 'tr');
Expand All @@ -368,6 +370,8 @@ $(document).ready(function(){
});

$('input.test-cb').each(function() {
disableParent(this, 'li');

$(this).click(function(event) {
disableParent(this, 'li');

Expand Down

0 comments on commit bed961a

Please sign in to comment.