]> source.dussan.org Git - redmine.git/commitdiff
fix javascript syntax mistake in application.js (#11885)
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Thu, 27 Sep 2012 05:41:52 +0000 (05:41 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Thu, 27 Sep 2012 05:41:52 +0000 (05:41 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10486 e93f8b46-1217-0410-a6f0-8f06a7374b81

public/javascripts/application.js

index b135df6a556a0e4733b9007192ec6bdcd0f0f2ae..a5e5f7d8ea01d018f12b5538c49cec685aad03fd 100644 (file)
@@ -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);
     }