summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2012-09-27 07:29:07 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2012-09-27 07:29:07 +0000
commit006a1b4fd780e5954a5b3412401e2f26ca338f56 (patch)
treef47c917e1b23a980b907760773c25555d4cc098b
parent9095874a07af8d9a053db5f03384a868fb9a69c6 (diff)
downloadredmine-006a1b4fd780e5954a5b3412401e2f26ca338f56.tar.gz
redmine-006a1b4fd780e5954a5b3412401e2f26ca338f56.zip
Merged r10486 from trunk (#11885)
fix javascript syntax mistake in application.js. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/2.1-stable@10488 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--public/javascripts/application.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/public/javascripts/application.js b/public/javascripts/application.js
index 7346257dc..5d8e7f384 100644
--- a/public/javascripts/application.js
+++ b/public/javascripts/application.js
@@ -152,10 +152,10 @@ function buildFilterRow(field, operator, values) {
var option = $('<option>');
if ($.isArray(filterValue)) {
option.val(filterValue[1]).text(filterValue[0]);
- if (values.indexOf(filterValue[1]) > -1) {option.attr('selected', true)};
+ if (values.indexOf(filterValue[1]) > -1) {option.attr('selected', true);}
} else {
option.val(filterValue).text(filterValue);
- if (values.indexOf(filterValue) > -1) {option.attr('selected', true)};
+ if (values.indexOf(filterValue) > -1) {option.attr('selected', true);}
}
select.append(option);
}