mirror of
https://github.com/redmine/redmine.git
synced 2026-03-06 12:31:40 +01:00
* added issue_relations branch
* issue_relation model added git-svn-id: http://redmine.rubyforge.org/svn/branches/work@162 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
19
issue_relations/public/javascripts/application.js
Normal file
19
issue_relations/public/javascripts/application.js
Normal file
@@ -0,0 +1,19 @@
|
||||
function checkAll (id, checked) {
|
||||
var el = document.getElementById(id);
|
||||
for (var i = 0; i < el.elements.length; i++) {
|
||||
if (el.elements[i].disabled==false) {
|
||||
el.elements[i].checked = checked;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function addFileField() {
|
||||
var f = document.createElement("input");
|
||||
f.type = "file";
|
||||
f.name = "attachments[]";
|
||||
f.size = 30;
|
||||
|
||||
p = document.getElementById("attachments_p");
|
||||
p.appendChild(document.createElement("br"));
|
||||
p.appendChild(f);
|
||||
}
|
||||
Reference in New Issue
Block a user