You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by hn...@apache.org on 2017/07/31 15:00:24 UTC
svn commit: r1803541 -
/myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/META-INF/resources/tobago/standard/tobago-bootstrap/_version/js/tobago-calendar.js
Author: hnoeth
Date: Mon Jul 31 15:00:24 2017
New Revision: 1803541
URL: http://svn.apache.org/viewvc?rev=1803541&view=rev
Log:
TOBAGO-1767 tc:date: days in the past should have an specific CSS class
* css class is set after changing month
Modified:
myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/META-INF/resources/tobago/standard/tobago-bootstrap/_version/js/tobago-calendar.js
Modified: myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/META-INF/resources/tobago/standard/tobago-bootstrap/_version/js/tobago-calendar.js
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/META-INF/resources/tobago/standard/tobago-bootstrap/_version/js/tobago-calendar.js?rev=1803541&r1=1803540&r2=1803541&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/META-INF/resources/tobago/standard/tobago-bootstrap/_version/js/tobago-calendar.js (original)
+++ myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/META-INF/resources/tobago/standard/tobago-bootstrap/_version/js/tobago-calendar.js Mon Jul 31 15:00:24 2017
@@ -122,8 +122,8 @@ Tobago.DateTime.init = function (element
}
Tobago.DateTime.addPastClass($date);
});
- $date.parent().on('dp.update', function ($date) {
- Tobago.DateTime.addPastClass();
+ $date.parent().on('dp.update', function () {
+ Tobago.DateTime.addPastClass($date);
});
});
};