My favorites | Sign in
Project Home Issues
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 1885: AngularJs: AngularStrap datepicker is not working
1 person starred this issue and may be notified of changes. Back to list
Status:  Invalid
Owner:  ----
Closed:  Aug 2013


Sign in to add a comment
 
Reported by anil.pan...@xymob.com, Jun 25, 2013
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>&nbsp;</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
(No comment was entered for this change.)
Status: Invalid
Sign in to add a comment

Powered by Google Project Hosting