silverstripe-framework/Forms
Sam Minnee 93a0122c0f FIX: Don’t treat URLs as root relative when FRAMEWORK_DIR = “”
Code was assuming that FRAMEWORK_DIR would always have a value. If it
doesn’t (because you’re running a test instance of a naked framework)
This caused URLs to be treated as root relative, which creates some
duplicate-inclusion bugs.

The use of ltrim() works, but is a bit clumsy. A more flexible approach
to including front-end assets of given modules would be preferable;
ideally something that also let you keep your code outside of the
web root.
2016-09-16 16:16:39 +12:00
..
GridField FIX: Don’t treat URLs as root relative when FRAMEWORK_DIR = “” 2016-09-16 16:16:39 +12:00
HTMLEditor FIX: Don’t treat URLs as root relative when FRAMEWORK_DIR = “” 2016-09-16 16:16:39 +12:00
Schema Tabs support in new file/image editor 2016-09-14 14:08:59 +12:00
AssetField.php API: Remove js/css requirements include from form fields. 2016-09-15 22:19:09 +12:00
CheckboxField_Readonly.php API Namespace all classes 2016-09-08 10:23:17 +12:00
CheckboxField.php API Namespace all classes 2016-09-08 10:23:17 +12:00
CheckboxSetField.php API: Remove js/css requirements include from form fields. 2016-09-15 22:19:09 +12:00
CompositeField.php Tabs support in new file/image editor 2016-09-14 14:08:59 +12:00
ConfirmedPasswordField.php API Moved CMS-specific JavaScript to admin/thirdparty 2016-09-16 13:46:10 +12:00
CountryDropdownField.php API Namespace all classes 2016-09-08 10:23:17 +12:00
CreditCardField.php API Namespace all classes 2016-09-08 10:23:17 +12:00
CurrencyField_Disabled.php API Namespace all classes 2016-09-08 10:23:17 +12:00
CurrencyField_Readonly.php API Namespace all classes 2016-09-08 10:23:17 +12:00
CurrencyField.php API Namespace all classes 2016-09-08 10:23:17 +12:00
DatalessField.php API Namespace all classes 2016-09-08 10:23:17 +12:00
DateField_Disabled.php API Namespace all classes 2016-09-08 10:23:17 +12:00
DateField_View_JQuery.php API: Remove js/css requirements include from form fields. 2016-09-15 22:19:09 +12:00
DateField.php API Moved CMS-specific JavaScript to admin/thirdparty 2016-09-16 13:46:10 +12:00
DatetimeField.php API: Remove js/css requirements include from form fields. 2016-09-15 22:19:09 +12:00
DisabledTransformation.php API Namespace all classes 2016-09-08 10:23:17 +12:00
DropdownField.php API Namespace all classes 2016-09-08 10:23:17 +12:00
EmailField.php API Namespace all classes 2016-09-08 10:23:17 +12:00
FieldGroup.php Tabs support in new file/image editor 2016-09-14 14:08:59 +12:00
FieldList.php API Namespace all classes 2016-09-08 10:23:17 +12:00
FileField.php API Namespace all classes 2016-09-08 10:23:17 +12:00
Form_FieldMap.php API Namespace all classes 2016-09-08 10:23:17 +12:00
Form.php Rename SS_ prefixed classes (#5974) 2016-09-09 18:43:05 +12:00
FormAction.php API Namespace all classes 2016-09-08 10:23:17 +12:00
FormField.php API Namespace all classes 2016-09-08 10:23:17 +12:00
FormScaffolder.php API Namespace all classes 2016-09-08 10:23:17 +12:00
FormTemplateHelper.php API Namespace all classes 2016-09-08 10:23:17 +12:00
FormTransformation.php API Namespace all classes 2016-09-08 10:23:17 +12:00
GroupedDropdownField.php Tabs support in new file/image editor 2016-09-14 14:08:59 +12:00
HeaderField.php API Namespace all classes 2016-09-08 10:23:17 +12:00
HiddenField.php API Namespace all classes 2016-09-08 10:23:17 +12:00
HTMLReadonlyField.php API Namespace all classes 2016-09-08 10:23:17 +12:00
InlineFormAction_ReadOnly.php API Namespace all classes 2016-09-08 10:23:17 +12:00
InlineFormAction.php API Moved CMS-specific JavaScript to admin/thirdparty 2016-09-16 13:46:10 +12:00
LabelField.php API Namespace all classes 2016-09-08 10:23:17 +12:00
ListboxField.php API Namespace all classes 2016-09-08 10:23:17 +12:00
LiteralField.php API Namespace all classes 2016-09-08 10:23:17 +12:00
LookupField.php API Namespace all classes 2016-09-08 10:23:17 +12:00
MemberDatetimeOptionsetField.php API: Remove js/css requirements include from form fields. 2016-09-15 22:19:09 +12:00
MoneyField.php Tabs support in new file/image editor 2016-09-14 14:08:59 +12:00
MultiSelectField.php API Namespace all classes 2016-09-08 10:23:17 +12:00
NullableField.php API Namespace all classes 2016-09-08 10:23:17 +12:00
NumericField_Readonly.php API Namespace all classes 2016-09-08 10:23:17 +12:00
NumericField.php API Namespace all classes 2016-09-08 10:23:17 +12:00
OptionsetField.php Rename SS_ prefixed classes (#5974) 2016-09-09 18:43:05 +12:00
PasswordField.php API Namespace all classes 2016-09-08 10:23:17 +12:00
PhoneNumberField.php API Namespace all classes 2016-09-08 10:23:17 +12:00
PopoverField.php API Namespace all classes 2016-09-08 10:23:17 +12:00
PrintableTransformation_TabSet.php API Namespace all classes 2016-09-08 10:23:17 +12:00
PrintableTransformation.php API Namespace all classes 2016-09-08 10:23:17 +12:00
ReadonlyField.php API Namespace all classes 2016-09-08 10:23:17 +12:00
ReadonlyTransformation.php API Namespace all classes 2016-09-08 10:23:17 +12:00
RequiredFields.php API Namespace all classes 2016-09-08 10:23:17 +12:00
ResetFormAction.php API Namespace all classes 2016-09-08 10:23:17 +12:00
SelectField.php Rename SS_ prefixed classes (#5974) 2016-09-09 18:43:05 +12:00
SelectionGroup_Item.php API Namespace all classes 2016-09-08 10:23:17 +12:00
SelectionGroup.php API Moved CMS-specific JavaScript to admin/thirdparty 2016-09-16 13:46:10 +12:00
SingleSelectField.php API Namespace all classes 2016-09-08 10:23:17 +12:00
Tab.php Tabs support in new file/image editor 2016-09-14 14:08:59 +12:00
TabSet.php API Moved CMS-specific JavaScript to admin/thirdparty 2016-09-16 13:46:10 +12:00
TextareaField.php API Namespace all classes 2016-09-08 10:23:17 +12:00
TextField.php API Namespace all classes 2016-09-08 10:23:17 +12:00
TimeField_Readonly.php API Namespace all classes 2016-09-08 10:23:17 +12:00
TimeField.php API Namespace all classes 2016-09-08 10:23:17 +12:00
ToggleCompositeField.php API Moved CMS-specific JavaScript to admin/thirdparty 2016-09-16 13:46:10 +12:00
TreeDropdownField_Readonly.php API Namespace all classes 2016-09-08 10:23:17 +12:00
TreeDropdownField.php API Moved CMS-specific JavaScript to admin/thirdparty 2016-09-16 13:46:10 +12:00
TreeMultiselectField_Readonly.php API Namespace all classes 2016-09-08 10:23:17 +12:00
TreeMultiselectField.php API: Remove js/css requirements include from form fields. 2016-09-15 22:19:09 +12:00
UploadField_ItemHandler.php FIX: Don’t treat URLs as root relative when FRAMEWORK_DIR = “” 2016-09-16 16:16:39 +12:00
UploadField_SelectHandler.php FIX: Don’t treat URLs as root relative when FRAMEWORK_DIR = “” 2016-09-16 16:16:39 +12:00
UploadField.php API Moved CMS-specific JavaScript to admin/thirdparty 2016-09-16 13:46:10 +12:00
Validator.php API Namespace all classes 2016-09-08 10:23:17 +12:00