summaryrefslogtreecommitdiffstats
path: root/public/javascripts/application.js
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2008-02-10 13:17:41 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2008-02-10 13:17:41 +0000
commit4155c97222cea69406060979efca3ebaaed9dcec (patch)
tree17bc056c97c1af47914bb2599995d2901749ce35 /public/javascripts/application.js
parent43a6f312edde2399c9c986ed61b1e9b0e1066db6 (diff)
downloadredmine-4155c97222cea69406060979efca3ebaaed9dcec.tar.gz
redmine-4155c97222cea69406060979efca3ebaaed9dcec.zip
Issue list now supports bulk edit/move/delete (#563, #607). For now, issues from different projects can not be bulk edited/moved/deleted at once.
There are 2 ways to select a set of issues on the issue list: * by using checkbox and/or the little pencil that will select/unselect all issues (#567) * by clicking on the rows (but not on the links), Ctrl and Shift keys can be used to select multiple issues Context menu was disabled on links so that the default context menu of the browser is displayed when right-clicking on a link (#545). All this was tested with Firefox 2, IE 6/7, Opera 8 (use Alt+Click instead of Right-click) and Safari 2/3. git-svn-id: http://redmine.rubyforge.org/svn/trunk@1130 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'public/javascripts/application.js')
-rw-r--r--public/javascripts/application.js13
1 files changed, 3 insertions, 10 deletions
diff --git a/public/javascripts/application.js b/public/javascripts/application.js
index 5ad04e91d..d77362a06 100644
--- a/public/javascripts/application.js
+++ b/public/javascripts/application.js
@@ -1,3 +1,6 @@
+/* redMine - project management software
+ Copyright (C) 2006-2008 Jean-Philippe Lang */
+
function checkAll (id, checked) {
var el = document.getElementById(id);
for (var i = 0; i < el.elements.length; i++) {
@@ -49,16 +52,6 @@ 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;
-}
-
function collapseScmEntry(id) {
var els = document.getElementsByClassName(id, 'browser');
for (var i = 0; i < els.length; i++) {