Revision 1379:1053a56bccec plugins/redmine_bibliography/assets
| plugins/redmine_bibliography/assets/javascripts/bibliography.js | ||
|---|---|---|
| 1 |
// bibliography.js |
|
| 2 |
|
|
| 3 |
function disable_fields(){
|
|
| 4 |
$this = $(this); |
|
| 5 |
$author_info = $this.closest('div').prev();
|
|
| 6 |
$author_info.children('.description').toggle();
|
|
| 7 |
$author_info.find('p :input').attr("readonly", true);
|
|
| 8 |
|
|
| 9 |
return false; |
|
| 10 |
} |
|
Also available in: Unified diff