Commit Graph

20 Commits

Author SHA1 Message Date
colymba
efe4e35c9c FIX #7 $has_one config is now inherited
Fixes bug where no default $has_one field would be found if the relation
is on the parent class
2013-01-09 23:28:55 +02:00
colymba
7a0b32eafd Removed old useless methode 2012-09-05 20:18:24 +03:00
colymba
e7c7239ada Unescape Form Fields POST data as Helper methode
Moved escaping or sent POST data into the Helper class since it is the
same everywhere.
2012-09-05 20:17:19 +03:00
colymba
861d4128dc FIX: update methode now saves has_ fields 2012-09-05 20:07:55 +03:00
colymba
079fb7fa36 UI behavior and visual enhancements
Switch Actions to FormActions buttons and add colored visual hints about
items status.
2012-08-10 00:30:50 +03:00
colymba
fe8e41aa40 cleaning up the code 2012-08-08 00:02:13 +03:00
colymba
cf0a3262f7 NEW: Defined global path to components folder
defined BULK_EDIT_TOOLS_PATH as root folder for Components, usefull in
Requirements and make install easier.
2012-08-07 23:56:59 +03:00
colymba
a141aba650 API: defined components set's HTML fragment
All bulk edit tools will now use "bulk-edit-tools" HTML fragment,
defined in base component GridFieldBulkEditingTools. Previous
"GridFieldBulkEditingTools" is now GridFieldBulkEditingHelper.
2012-08-07 23:51:54 +03:00
colymba
65d1e7c5cb API: custom upload folder
Possibility to set a custom upload folder through Component $config
2012-08-07 22:40:12 +03:00
colymba
1e260d2b48 API: Request Handler use $config + EditingTools 2012-07-28 14:17:19 +03:00
colymba
05d12695f6 FIX: Cancel button always available
Cancel button does not depends on crumbs
2012-07-25 20:59:50 +03:00
colymba
86e2773663 Test if a field is returned by getCMSFields()
Should not happen unless the field was manually removed within
getCMSFields()
2012-07-19 15:54:19 +03:00
colymba
26690ba84d FIX: formFields were not return in nested set
fieldByName() doesn't work in nested sets (i.e. when Tabs are used). If
no field is return this is now coupled with dataFields()
2012-07-19 15:50:23 +03:00
colymba
8a4066bef9 FIX: X-Include-JS requirements load order
UploadField.js was always loaded last, causing the new template not to
load and crashing the whole thing.
Simply calling the forTemplate() method earlier, makes all the Form's
requirements (including UploadField.js) being loaded first
2012-07-19 15:48:17 +03:00
colymba
1ac1c88cd6 Updated comments and Readme
Added comments and credits and updated README
2012-07-18 15:26:30 +03:00
colymba
56a4bb4681 FIX: delay JS remplate loading
template was still loaded before UploadField.js, now loaded on document
ready()
2012-07-18 12:37:15 +03:00
colymba
a4a6a53503 FIX: JS requirements load order
Custom requirement to be loaded after UploadField as it depends on
tmpl.js
Was crashing is IE and silently in Chrome
2012-07-18 11:57:01 +03:00
colymba
51b9518492 Automatic Fields detection + EditForm generation
Component now finds the Image relation and all 'editable fields' itself.
Also gets the edit Forms from the record's getCMSFields()
+ other little fixes
2012-07-18 02:12:10 +03:00
colymba
f010fda4a6 FIX: Change form output method
Fixes SecurityID issue with form not being displayed
2012-07-17 01:21:44 +03:00
colymba
cb55fe2d89 Initial commit with files 2012-07-16 23:39:01 +03:00