# HG changeset patch # User luisf # Date 1377968253 -3600 # Node ID 1053a56bccec774af1b91fc337ca5708e058d781 # Parent 0b2a75f6095290bbd42a1392cac4acf6332cfcdb adding forgotten js file (as of previous commit) diff -r 0b2a75f60952 -r 1053a56bccec plugins/redmine_bibliography/assets/javascripts/bibliography.js --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/plugins/redmine_bibliography/assets/javascripts/bibliography.js Sat Aug 31 17:57:33 2013 +0100 @@ -0,0 +1,10 @@ +// bibliography.js + +function disable_fields(){ + $this = $(this); + $author_info = $this.closest('div').prev(); + $author_info.children('.description').toggle(); + $author_info.find('p :input').attr("readonly", true); + + return false; +} \ No newline at end of file