From 2c4647f8c6d23c999ae959a047104eef49d00993 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Tue, 9 Oct 2007 19:07:19 +0000 Subject: Added 'Bulk edit' functionality. This can be done by clicking on the edit link (little pen icon) at the upper-left corner of the issue list. Most properties can be set (priority, assignee, category, fixed version, start and due dates, done ratio) and a note can be entered. Only issues of the current project can be selected for bulk edit (subproject issues can't). git-svn-id: http://redmine.rubyforge.org/svn/trunk@817 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- public/javascripts/application.js | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'public') diff --git a/public/javascripts/application.js b/public/javascripts/application.js index 6a30e42e7..bf86f398a 100644 --- a/public/javascripts/application.js +++ b/public/javascripts/application.js @@ -49,6 +49,16 @@ function promptToRemote(text, param, url) { } } +/* checks that at least one checkbox is checked (used when submitting bulk edit form) */ +function checkBulkEdit(form) { + for (var i = 0; i < form.elements.length; i++) { + if (form.elements[i].checked) { + return true; + } + } + return false; +} + /* shows and hides ajax indicator */ Ajax.Responders.register({ onCreate: function(){ -- cgit v1.2.3