Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- dayRender: function (date, cell)
- {
- $.ajax({
- type: 'GET',
- url: 'index.php/daysTerms',
- dataType: 'json',
- cache: true,
- success: function (daysTerms) {
- $.each(daysTerms, function(index, item) {
- if (date.isSame(item)) {
- cell.css("border","2px solid #2E6E9E");
- }
- });
- },
- error: function() {
- // alert('Error. no colors background');
- }
- });
- },
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement