Skip to content
This repository has been archived by the owner on Sep 8, 2020. It is now read-only.

ui calendar not working with mozilla firefox #375

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"package.json"
],
"dependencies": {
"angular": "1.2.26",
"angular": "1.3.x",
"jquery": "2.x",
"fullcalendar": "2.1.1",
"moment": "2.*"
Expand Down
4 changes: 3 additions & 1 deletion demo/calendarDemo.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
/**
* calendarDemoApp - 0.9.0
*/
angular.module('calendarDemoApp', ['ui.calendar', 'ui.bootstrap']);
angular.module('calendarDemoApp', ['ui.calendar', 'ui.bootstrap'])
.controller('CalendarCtrl', CalendarCtrl)

function CalendarCtrl($scope,$compile,uiCalendarConfig) {
var date = new Date();
Expand Down Expand Up @@ -87,6 +88,7 @@ function CalendarCtrl($scope,$compile,uiCalendarConfig) {
};
/* Change View */
$scope.renderCalender = function(calendar) {
console.log('hahahhahahhah', uiCalendarConfig.calendars[calendar])
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please remove unnecessary console log

if(uiCalendarConfig.calendars[calendar]){
uiCalendarConfig.calendars[calendar].fullCalendar('render');
}
Expand Down
2 changes: 1 addition & 1 deletion demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<script src="../bower_components/jquery/dist/jquery.js"></script>

<script src="../bower_components/angular/angular.js"></script>
<script src="//angular-ui.github.io/bootstrap/ui-bootstrap-tpls-0.9.0.js"></script>
<script src="http://angular-ui.github.io/bootstrap/ui-bootstrap-tpls-0.13.0.js"></script>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there's no need to prefix with http://

<script src="../bower_components/moment/moment.js"></script>
<script src="../bower_components/fullcalendar/dist/fullcalendar.js"></script>
<script src="../bower_components/fullcalendar/dist/gcal.js"></script>
Expand Down