| Issue 1885: | AngularJs: AngularStrap datepicker is not working | |
| 1 person starred this issue and may be notified of changes. | Back to list |
I have added a datepicker inside calendar header but its not working any more. fullcalendar.js file has render() function and I am adding below line of codes inside this function
<td class='fc-header-right input-append'><input type='text' class='input-medium' data-ng-model='calendarDatepicker.date' data-date-format='dd/mm/yyyy' bs-datepicker/><span class='add-on'><i class='icon-chevron-down'></i></span></td>
Now the function look like this.
function render() {
tm = options.theme ? 'ui' : 'fc';
var sections = options.header;
if (sections) {
element = $("<table class='fc-header' style='width:100%'/>")
.append(
$("<tr/>")
.append("<td class='fc-header-left'><span class='fc-header-title'><strong>CALENDAR</strong></span></td>")
.append('<td> </td>')
.append(renderSection('right'))
).append(
$("<tr/>")
.append(renderSection('left'))
.append(renderSection('center'))
.append("<td class='fc-header-right input-append'><input type='text' class='input-medium' data-ng-model='calendarDatepicker.date' data-date-format='dd/mm/yyyy' bs-datepicker/><span class='add-on'><i class='icon-chevron-down'></i></span></td>")
);
return element;
}
}
Aug 24, 2013
Project Member
#1
adamrs...@gmail.com
Status:
Invalid
|
|
| ► Sign in to add a comment |