]> source.dussan.org Git - sonarqube.git/commitdiff
[SONAR-5073] Disable user input on date fields
authorStas Vilchik <vilchiks@gmail.com>
Mon, 28 Jul 2014 15:34:58 +0000 (17:34 +0200)
committerStas Vilchik <vilchiks@gmail.com>
Mon, 28 Jul 2014 15:35:04 +0000 (17:35 +0200)
server/sonar-web/src/main/js/navigator/filters/range-filters.js

index 7056df8135280771d4dca94d8f6c56aca72a44cd..8457ee356d6a8b94016ead159a8d0b6f972a0de8 100644 (file)
@@ -171,6 +171,7 @@ define([
     render: function() {
       RangeFilterView.prototype.render.apply(this, arguments);
       this.detailsView.$('input')
+          .prop('readonly', true)
           .prop('placeholder', '1970-01-31')
           .datepicker({
             dateFormat: 'yy-mm-dd',