summaryrefslogtreecommitdiffstats
path: root/public
diff options
context:
space:
mode:
authorEric Davis <edavis@littlestreamsoftware.com>2010-09-28 21:09:06 +0000
committerEric Davis <edavis@littlestreamsoftware.com>2010-09-28 21:09:06 +0000
commit26ef9da02b7ef7550712317ad050e5a2f31744c6 (patch)
tree2bd63ea6bb64aca39a733ca598253c48aa57e72d /public
parent4c9f261a245b256ecd299801583ad23bb6921ec2 (diff)
downloadredmine-26ef9da02b7ef7550712317ad050e5a2f31744c6.tar.gz
redmine-26ef9da02b7ef7550712317ad050e5a2f31744c6.zip
Changed the notifications to use a hierarchy UI
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4222 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'public')
-rw-r--r--public/javascripts/application.js8
-rw-r--r--public/stylesheets/application.css1
2 files changed, 8 insertions, 1 deletions
diff --git a/public/javascripts/application.js b/public/javascripts/application.js
index 989065b3a..8f6c51828 100644
--- a/public/javascripts/application.js
+++ b/public/javascripts/application.js
@@ -17,6 +17,13 @@ function toggleCheckboxesBySelector(selector) {
for (i = 0; i < boxes.length; i++) { boxes[i].checked = !all_checked; }
}
+function setCheckboxesBySelector(checked, selector) {
+ var boxes = $$(selector);
+ boxes.each(function(ele) {
+ ele.checked = checked;
+ });
+}
+
function showAndScrollTo(id, focus) {
Element.show(id);
if (focus!=null) { Form.Element.focus(focus); }
@@ -56,7 +63,6 @@ function addFileField() {
dLabel.addClassName('inline');
// Pulls the languge value used for Optional Description
dLabel.update($('attachment_description_label_content').innerHTML)
-
p = document.getElementById("attachments_fields");
p.appendChild(document.createElement("br"));
p.appendChild(f);
diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css
index 233d94e45..b286ee23c 100644
--- a/public/stylesheets/application.css
+++ b/public/stylesheets/application.css
@@ -419,6 +419,7 @@ input#time_entry_comments { width: 90%;}
.tabular.settings textarea { width: 99%; }
fieldset.settings label { display: block; }
+.parent { padding-left: 20px; }
.required {color: #bb0000;}
.summary {font-style: italic;}