From de26e3fb859a13de6310aeb2e2dadae80ec5e936 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Sat, 20 Apr 2013 08:08:17 +0000 Subject: [PATCH] fix ; position of if(){} at application.js (#13811) Contributed by Adrian Wilkins. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11732 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- public/javascripts/application.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/public/javascripts/application.js b/public/javascripts/application.js index 26db1fc9e..48ade3fd6 100644 --- a/public/javascripts/application.js +++ b/public/javascripts/application.js @@ -131,7 +131,7 @@ function buildFilterRow(field, operator, values) { select = tr.find('td.operator select'); for (i=0;i').val(operators[i]).text(operatorLabels[operators[i]]); - if (operators[i] == operator) {option.attr('selected', true)}; + if (operators[i] == operator) { option.attr('selected', true); } select.append(option); } select.change(function(){toggleOperator(field)}); @@ -146,7 +146,7 @@ function buildFilterRow(field, operator, values) { '  ' ); select = tr.find('td.values select'); - if (values.length > 1) {select.attr('multiple', true)}; + if (values.length > 1) { select.attr('multiple', true); } for (i=0;i'); @@ -189,7 +189,7 @@ function buildFilterRow(field, operator, values) { var filterValue = allProjects[i]; var option = $('