summaryrefslogtreecommitdiffstats
path: root/public/javascripts/application.js
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2010-03-13 14:56:49 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2010-03-13 14:56:49 +0000
commit8e3d1b694ab47317638b474082cb70e08a8d02e7 (patch)
tree9997cc24910a029fea3e98ed0765566d9c4bb97e /public/javascripts/application.js
parente109c9b6b6f314dea19bf92dffa217d962eaa200 (diff)
downloadredmine-8e3d1b694ab47317638b474082cb70e08a8d02e7.tar.gz
redmine-8e3d1b694ab47317638b474082cb70e08a8d02e7.zip
Adds subtasking (#443) including:
* priority, start/due dates, progress, estimate, spent time roll-up to parent issues * descendant issues tree displayed on the issue view with context menu support * issue tree display on the gantt chart * issue tree copy on project copy * unlimited nesting Defining subtasks requires the new permission 'Manage subtasks'. Subtasks can not belong to a different project than the parent task. Implementation is based on scoped nested sets for fast reads and updates. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3573 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'public/javascripts/application.js')
-rw-r--r--public/javascripts/application.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/public/javascripts/application.js b/public/javascripts/application.js
index 787b9904c..4cd34c2f2 100644
--- a/public/javascripts/application.js
+++ b/public/javascripts/application.js
@@ -194,6 +194,18 @@ function randomKey(size) {
return key;
}
+function observeParentIssueField(url) {
+ new Ajax.Autocompleter('issue_parent_issue_id',
+ 'parent_issue_candidates',
+ url,
+ { minChars: 3,
+ frequency: 0.5,
+ paramName: 'q',
+ updateElement: function(value) {
+ document.getElementById('issue_parent_issue_id').value = value.id;
+ }});
+}
+
/* shows and hides ajax indicator */
Ajax.Responders.register({
onCreate: function(){