diff plugins/redmine_bibliography/assets/javascripts/bibliography.js @ 1379:1053a56bccec luisf

adding forgotten js file (as of previous commit)
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Sat, 31 Aug 2013 17:57:33 +0100
parents
children fa92d13876d0
line wrap: on
line diff
--- /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