BUGFIX Fixed CalendarDateField.js concrete definition

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92552 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2009-11-21 02:32:32 +00:00
parent 22bf4f8c33
commit 0231e8b8ea

View File

@ -6,7 +6,8 @@
* *
* @author Ingo Schommer, SilverStripe Ltd. * @author Ingo Schommer, SilverStripe Ltd.
*/ */
$('.calendardate').concrete('ss', { $('.calendardate').concrete('ss', function($){
return {
onmatch: function() { onmatch: function() {
this.find('input').each(function() { this.find('input').each(function() {
var conf = $(this).metadata(); var conf = $(this).metadata();
@ -16,5 +17,6 @@
$(this).datepicker(conf); $(this).datepicker(conf);
}); });
} }
}) };
});
}(jQuery)); }(jQuery));