Update of /cvsroot/thyapi/thyapi/thywidgets
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5610/thywidgets
Modified Files:
thypopupcalendar.js
Log Message:
Commiting file additions and modification from SVN revision 2529 to 2530...
Changes made by frank on 2005-12-29 20:53:39 +0100 (Thu, 29 Dec 2005) corresponding to SVN revision 2530 with message:
Index: thypopupcalendar.js
===================================================================
RCS file: /cvsroot/thyapi/thyapi/thywidgets/thypopupcalendar.js,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** thypopupcalendar.js 21 Dec 2005 18:12:42 -0000 1.2
--- thypopupcalendar.js 29 Dec 2005 18:57:51 -0000 1.3
***************
*** 24,28 ****
*
* This is the PopupCalendar class. It is wrapper to use JS Calendar.
! *
* Thanks for Mihai Bazon <mih...@ya...> for the great work!
* For original JS Calendar, access <http://dynarch.com/mishoo/>
--- 24,28 ----
*
* This is the PopupCalendar class. It is wrapper to use JS Calendar.
! *
* Thanks for Mihai Bazon <mih...@ya...> for the great work!
* For original JS Calendar, access <http://dynarch.com/mishoo/>
***************
*** 57,61 ****
this.calBtn.addCSSClass('thyPopupCalendar_button');
!
this.addChild(this.calBtn);
--- 57,61 ----
this.calBtn.addCSSClass('thyPopupCalendar_button');
!
this.addChild(this.calBtn);
***************
*** 65,69 ****
this.timeFormat = '24';
this.timeDisplayFormat = '';
!
this.onCreate(this.initThyPopupCalendar);
}
--- 65,69 ----
this.timeFormat = '24';
this.timeDisplayFormat = '';
!
this.onCreate(this.initThyPopupCalendar);
}
***************
*** 88,92 ****
timeFormat: this.timeFormat
});
!
var self = this;
this.calBtn.addEventListener({onclick: function()
--- 88,92 ----
timeFormat: this.timeFormat
});
!
var self = this;
this.calBtn.addEventListener({onclick: function()
***************
*** 210,214 ****
// using the popup calendar
}
!
p._thyEditBox_populateContents = p._populateContents;
/**
--- 210,214 ----
// using the popup calendar
}
!
p._thyEditBox_populateContents = p._populateContents;
/**
***************
*** 228,232 ****
return;
}
!
this.timestamp = data*1000;
this._thyEditBox_populateContents(this.getFormatted());
--- 228,232 ----
return;
}
!
this.timestamp = data*1000;
this._thyEditBox_populateContents(this.getFormatted());
***************
*** 243,247 ****
return this.getTimestamp();
}
!
/**
* Method: _calendarOnSelect
--- 243,247 ----
return this.getTimestamp();
}
!
/**
* Method: _calendarOnSelect
***************
*** 261,265 ****
var update = (cal.dateClicked || p.electric);
! if (update && p.inputField)
{
p.inputField.value = cal.date.print(p.ifFormat);
--- 261,265 ----
var update = (cal.dateClicked || p.electric);
! if (update && p.inputField)
{
p.inputField.value = cal.date.print(p.ifFormat);
|