diff options
author | Pablo Gomez Duro <pablozgz@gmail.com> | 2012-04-16 11:17:39 +0200 |
---|---|---|
committer | Pablo Gomez Duro <pablozgz@gmail.com> | 2012-04-16 11:17:39 +0200 |
commit | ac0855a2edf7fa0c73b162cd105f1f9dd1744a4a (patch) | |
tree | 637ea586201dfe387932642ebe436c0702160109 | |
parent | 772abe3f3bbfe903f35f71b7843073e2fa1884ad (diff) | |
download | jquery-week-calendar-ac0855a2edf7fa0c73b162cd105f1f9dd1744a4a.zip jquery-week-calendar-ac0855a2edf7fa0c73b162cd105f1f9dd1744a4a.tar.gz jquery-week-calendar-ac0855a2edf7fa0c73b162cd105f1f9dd1744a4a.tar.bz2 |
Added showHeader option to completely disable header (including buttons)
-rw-r--r-- | jquery.weekcalendar.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/jquery.weekcalendar.js b/jquery.weekcalendar.js index d379330..c632fb5 100644 --- a/jquery.weekcalendar.js +++ b/jquery.weekcalendar.js @@ -55,6 +55,7 @@ timeslotsPerHour: 4, minDate: null, maxDate: null, + showHeader: true, buttons: true, buttonText: { today: 'today', @@ -688,6 +689,7 @@ */ _renderCalendarButtons: function($calendarContainer) { var self = this, options = this.options; + if ( !options.showHeader ) return; if (options.buttons) { var calendarNavHtml = ''; |