Commit Graph

272 Commits

Author SHA1 Message Date
colymba 205ec30778 API: getModelDataFields() uses className as param
passing the whole gridField was useless and probably not future proof
2012-07-25 21:30:43 +03:00
colymba 07f404abf7 API: Removed useless old functions
useless since all is to be done through the config variable
2012-07-25 21:08:31 +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 58e348eac1 helper class functions structure 2012-07-20 21:26:34 +03:00
colymba 45e9d34c46 API: switched component to new $config system
removed useless variables and functions
2012-07-20 21:15:53 +03:00
colymba 2baad766c3 New helper class with common functions
for future usage
2012-07-20 21:04:38 +03:00
colymba bdb3ce7c5e API: Added config vars to component
Switching all component settings to a config variable with getter and
setter
2012-07-20 21:02:45 +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 0567bb0841 DOC: Updated README 2012-07-19 15:03:50 +03:00
colymba d11d992e93 DOC: Updated README with samples 2012-07-19 15:00:11 +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 1460009272 Updating readme 2012-07-18 02:27:28 +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 e610d42e44 DOC: Updating Readme file 2012-07-16 23:45:14 +03:00
colymba cb55fe2d89 Initial commit with files 2012-07-16 23:39:01 +03:00
colymba 393abfcb70 Updating Readme 2012-07-16 23:31:51 +03:00
Thierry Francois ba5b871c0c Initial commit 2012-07-16 11:51:13 -07:00