update fullcalendar js library, plus styles etc

This commit is contained in:
Joseph Mastey
2017-10-23 21:10:22 -05:00
parent f5a8e0c6a8
commit 0ac072e7e8
7 changed files with 25 additions and 5962 deletions
+7 -4
View File
@@ -118,7 +118,8 @@
</div>
</div>
<%= javascript_include_tag "fullcalendar.js" %>
<%= javascript_include_tag "moment.min.js" %>
<%= javascript_include_tag "fullcalendar.min.js" %>
<script type="text/javascript">
@@ -129,8 +130,10 @@ function makeActive(){
};
$('#calendar').fullCalendar({
events: <%= get_pto_schedule_schedule_index_path(:format => "json").inspect.html_safe %>,
$(document).ready(function() {
$('#calendar').fullCalendar({
events: <%= get_pto_schedule_schedule_index_path(:format => "json").inspect.html_safe %>,
});
});
@@ -245,4 +248,4 @@ $("#cal_update_submit").click(function(event) {
});
});
</script>
</script>