mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
BUGFIX CalendarDateField requires prototype to be included at all times in order for the calendar javascript to work - so ensure that it is included (this broke on the front end if prototype wasn't included via Requirements).
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@72957 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
9dc761d449
commit
ea8030d955
@ -16,6 +16,7 @@ HTML;
|
||||
}
|
||||
|
||||
function Field() {
|
||||
Requirements::javascript(THIRDPARTY_DIR . '/prototype.js');
|
||||
Requirements::javascript(THIRDPARTY_DIR . "/behaviour.js");
|
||||
Requirements::javascript(THIRDPARTY_DIR . "/calendar/calendar.js");
|
||||
Requirements::javascript(THIRDPARTY_DIR . "/calendar/lang/calendar-en.js");
|
||||
|
Loading…
Reference in New Issue
Block a user