Ingo Schommer
ed08b8c00b
MINOR Don't auto-expand nodes on TreeDropdownField, as it makes a gazillion ajax requests on sufficiently large trees (and gets nodes in chunks of 30) ( fixes #6879 )
2012-03-14 23:04:43 +01:00
Ingo Schommer
b246522c24
MINOR Various fixes to get TableListField and ComplexTableField baseline operational (although usage of GridField is encouraged)
2012-03-12 17:26:40 +01:00
Ingo Schommer
1f01e1135d
API CHANGE Removing ScaffoldingComplexTableField, using GridField instead to edit relationships through FormScaffolder and DataObject->scaffoldFormFields()
2012-03-09 15:16:01 +01:00
Sean Harvey
49267dbbc4
ENHANCEMENT Shortcodes now support commas as delimiter for attributes (thanks aoneil for help with the regex!) (trac #6868 )
...
BUGFIX HtmlEditorField not inserting shortcodes correctly (trac #6868 )
2012-03-09 14:25:42 +13:00
Sean Harvey
9f3344b355
API CHANGE Removed built-in behaviour.js client-side form validation.
...
This is no longer supported. Please use custom client-side validation instead. (see 3.0.0 changelog
for more information)
2012-03-09 12:19:57 +13:00
Ingo Schommer
e4a6dd5850
Merge branch 'integration'
...
Conflicts:
forms/gridfield/GridField.php
2012-03-08 20:25:21 +01:00
Andrew O'Neil
4ad7e8ef8d
FEATURE: Input box for going to a page in gridfield
2012-03-08 14:11:25 +13:00
Ingo Schommer
8afb8672f7
MINOR Using two_state checkboxes in TreeDropdownField.js (to allow individual node selection without enforcing children selection)
2012-03-08 01:49:35 +01:00
Ingo Schommer
0b4228231c
MINOR Integrating GridFieldSearch.js in GridField.js (and using entwine for it)
2012-03-06 21:38:34 +01:00
Ingo Schommer
bd1f652fe9
ENHANCEMENT Improved focus handling in GridField
2012-03-06 15:50:07 +01:00
Ingo Schommer
dc83ace928
BUGFIX Fixed CSV exporting on GridFieldExporter (was calling action via ajax, which doesn't allow HTTP download responses)
2012-03-06 15:50:07 +01:00
Ingo Schommer
a5b7a22a05
MINOR Fixed GridField delete action, was executing row click event after delete, causing a panel load with a non-existent (now deleted) record
2012-03-06 01:23:34 +01:00
Normann Lou
2552baeecd
ENHANCEMENT SSF-53 : add a 'filtered' class to filter button and reset button if its input field has filtering value
2012-03-06 12:33:53 +13:00
Normann Lou
8284fcc75b
MINOR SSF-53 : add hover-alike class to "Reset" button for easy css styling while keydown on filter input field
2012-03-06 10:44:20 +13:00
Ingo Schommer
8da89c6f7c
MINOR Generic .cms-help-toggle implementation to replace MemberDatetimeOptionsetField.js (which also didn't work when loaded via Ajax, and needed a rewrite to jQuery.entwine anyway)
2012-03-05 17:41:50 +01:00
Ingo Schommer
851099d82d
MINOR Fixed default state of PermissionCheckboxSetField
2012-03-05 17:41:50 +01:00
Normann Lou
7dd7e60f5a
MINOR SSF-53 : add / remove hover-alike class to "Filter" button for easy css styling while keydown on filter input field
2012-03-05 17:28:42 +13:00
Sean Harvey
b3d977f0e7
Merge remote-tracking branch 'upstream/master' into file_shortcodes
2012-03-03 10:24:06 +13:00
Ingo Schommer
b242bfb3da
BUGFIX Include GET parameters of current URL in GridField on ajax reloads to retain view state
2012-03-02 20:46:22 +01:00
Ingo Schommer
4345eaa61b
MINOR Sending 'ID' parameter from containing form alongside UploadField uploads, in order to set the correct context in in the controller (in the case of CMSFileAddController, that's the parent folder)
2012-03-02 15:21:12 +01:00
Ingo Schommer
db1854b5fb
MINOR Disable UploadField init on readonly or disabled fields
2012-03-02 11:06:40 +01:00
Normann Lou
b58b281d8a
BUGFIX SSF-53 : remove the disabled status of 'add button' in according with its sitting environment, ie. does it initialed by jQuery UI. If not, simply remove its 'disabled' attribute
2012-03-02 17:45:39 +13:00
Ingo Schommer
d02a68089f
MINOR Catching GridField filter submission to enable usage through enter key in addition to clicking on the filter button (SSF-53)
2012-03-01 17:57:06 +01:00
Ingo Schommer
0b0e24b0ec
MINOR Fixed UploadField edit forms falsely expanding by default
2012-03-01 11:58:40 +01:00
Sean Harvey
898c8f5497
ENHANCEMENT [file_link id=n] shortcode support for file links in HtmlEditorField
2012-03-01 22:20:58 +13:00
Normann Lou
e086875565
BUGFIX SSF-53 make adding existing member works by enabling the add button correctly
2012-03-01 15:18:04 +13:00
Ingo Schommer
a415034d0a
MINOR Changed GridField.js edit click behaviour from event-based to an (subclassable) method class, which means it works outside of the CMS by default. Making the whole row active in case an edit link is present
2012-03-01 00:20:25 +01:00
Andrew O'Neil
7f7d6b3bea
MINOR: Remove commented code
2012-03-01 11:08:05 +13:00
Andrew O'Neil
a50fc5180a
MINOR: SSF-106 Dont hide filter buttons when search isnt selected
2012-03-01 10:59:29 +13:00
Ingo Schommer
34d3f29a95
BUGFIX Fixed TabSet.js initialisation with cookies, default to first tab rather than allowing tab deselects through an index of -1
2012-02-28 18:09:33 +01:00
Ingo Schommer
bcc73de85e
Merge branch '106-add-edit-records-rc'
...
Conflicts:
admin/code/LeftAndMain.php
admin/css/screen.css
admin/scss/_style.scss
admin/templates/Includes/LeftAndMain_EditForm.ss
css/GridField.css
filesystem/Folder.php
forms/gridfield/GridField.php
forms/gridfield/GridFieldDefaultColumns.php
forms/gridfield/GridFieldPopupForms.php
2012-02-27 23:58:10 +01:00
Ingo Schommer
8fcb40cdf0
Merge remote-tracking branch 'silverstripe-scienceninjas/pull/SSF-12'
2012-02-23 23:38:29 +01:00
Ingo Schommer
9465df6fb4
MINOR Less specific button selectors in CMS JavaScript to cover <button> tags as well
2012-02-23 23:29:58 +01:00
Ingo Schommer
ddf4791708
MINOR Simplified edit form toggle in UploadField.js, prevent new <button> element trigger from submitting the form
2012-02-23 23:29:58 +01:00
Ingo Schommer
8b6ef6599e
MINOR Updating usage of jQuery.data() to confirm with API changes in 1.6 (camelcased names)
2012-02-23 23:29:58 +01:00
Ingo Schommer
0bc6bffa9b
BUGFIX Changed CSS class structure of GridField to avoid duplication of ".ss-gridfield" selector in different contexts, and make selectors less verbose (no more "fieldset.ss-gridfield"). Added "field" class to GridField container to ensure it displays correctly alongside other form fields (mainly around margins and paddings)
2012-02-23 23:29:58 +01:00
Ingo Schommer
abedf2a4a9
ENHANCEMENT Confirming deletion of records in GridField via JavaScript alert
2012-02-23 23:29:55 +01:00
Andrew O'Neil
7a755da101
FEATURE Trigger event when new or edit link is clicked
2012-02-23 14:54:03 +13:00
Ingo Schommer
8790ba3c4f
BUGFIX Retain editor focus when insert images, update attributes on existing image to avoid IE bugs through TinyMCE
2012-02-22 17:53:37 +01:00
Ingo Schommer
5f635d8315
BUGFIX Don't reload TreeDropdownField title via ajax if no value is set (which causes infinite loops)
2012-02-22 17:27:02 +01:00
Ingo Schommer
6ffb941c28
MINOR JS formatting
2012-02-22 11:15:54 +01:00
Stig Lindqvist
82748a0873
MINOR JS functionality on intercepting injected filtering of gridfields in LeftAndMain inherited Controllers.
2012-02-21 17:09:09 +13:00
Ingo Schommer
bb7c128025
MINOR JS syntax errors
2012-02-17 15:58:31 +01:00
Ingo Schommer
a196135089
API CHANGE Replace jQuery.metadata in DateField markup with HTML5 data attributes
2012-02-17 13:35:54 +01:00
Ingo Schommer
af4cf3ccc4
MINOR Fixed js accessor (thanks AngryPHPNerd)
2012-02-16 23:07:24 +01:00
Ingo Schommer
5911abc0f6
API CHANGE Removed prototype.js style $() alias usage for document.getElementById() to avoid confusion with the more common jQuery() alias.
...
API CHANGE Removed several unsed JavaScript globals: sprintf(), Number.prototype.CURRENCIES, Number.prototype.toCurrency(), String.prototype.ucfirst(), jQuery.fn.clearFields(), jQuery.fn.clearInputs()
MINOR Removed prototype_improvements.js and jquery_improvements.js files, now contained in individual component code (or removed altogether)
2012-02-16 12:27:47 +01:00
Ingo Schommer
5220a46fd0
ENHANCEMENT Inserting image via new dialog with ajax field retrieval and GridField file selection. Rewritten to jQuery.entwine and using the new HTML editor abstraction layer.
2012-02-14 13:53:35 +01:00
Ingo Schommer
ce4f456fc7
MINOR Removed unused functionality from prototype_improvements.js
2012-02-14 13:53:35 +01:00
Ingo Schommer
e59976bb64
MINOR Removed custom TinyMCE image resizer logic, presumably added due to lack of support for retaining aspect ratio in earlier versions of the editor
2012-02-14 13:53:35 +01:00
Ingo Schommer
3866f561f5
ENHANCEMENT Using GridField for file selection in "insert image" dialog
...
API CHANGE Combined HTMLEditorField_Toolbar->FlashForm() and ImageForm() into new MediaForm() to handle both file types
2012-02-14 13:30:52 +01:00