| Line | |
|---|
| 1 | $(function(){ |
|---|
| 2 | $('.recall-for-all').attr('disabled','disabled'); |
|---|
| 3 | $('#settings_recall_all').change(function(){ |
|---|
| 4 | if($(this).attr('selected')!='selected'){ |
|---|
| 5 | $('.recall-per-task').attr('disabled','disabled'); |
|---|
| 6 | $('.recall-for-all').removeAttr('disabled'); |
|---|
| 7 | } |
|---|
| 8 | }); |
|---|
| 9 | $('#settings_recall_separate').change(function(){ |
|---|
| 10 | if($(this).attr('selected')!='selected'){ |
|---|
| 11 | $('.recall-per-task').removeAttr('disabled'); |
|---|
| 12 | $('.recall-for-all').attr('disabled','disabled'); |
|---|
| 13 | } |
|---|
| 14 | }); |
|---|
| 15 | }); |
|---|
Note: See
TracBrowser
for help on using the repository browser.