From 76cdd530919d5faa8e411eabc7b28d67761bcec0 Mon Sep 17 00:00:00 2001
From: moradrouaguy <m.rouaguy@laposte.net>
Date: Tue, 5 Jan 2016 15:22:47 +0000
Subject: [PATCH] Update bootstrap-editable.js

I just put the current Year for the default maxDate (combodate).
---
 dist/bootstrap3-editable/js/bootstrap-editable.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dist/bootstrap3-editable/js/bootstrap-editable.js b/dist/bootstrap3-editable/js/bootstrap-editable.js
index dd81385..562cabc 100644
--- a/dist/bootstrap3-editable/js/bootstrap-editable.js
+++ b/dist/bootstrap3-editable/js/bootstrap-editable.js
@@ -4418,7 +4418,7 @@ $(function(){
         //initial value, can be `new Date()`    
         value: null,                       
         minYear: 1970,
-        maxYear: 2015,
+        maxYear: new Date().getFullYear(),
         yearDescending: true,
         minuteStep: 5,
         secondStep: 1,
@@ -6804,4 +6804,4 @@ Automatically shown in inline mode.
     
     $.fn.editabletypes.datetimefield = DateTimeField;
 
-}(window.jQuery));
\ No newline at end of file
+}(window.jQuery));