Will Rossiter
1853fc864a
FIX: Do not blindly pass input values to GridField_FormAction URL's
...
The length of input fields can very quickly exceed the max URI length resulting in 414 errors when printing or exporting results.
To access the input values for a specific GridField action, encapsulate this in your own Entwine instance.
2013-03-05 10:30:39 +13:00
Sean Harvey
d320247627
Trigger delete confirmation popup when deleting a GridFieldDetailForm record
2013-02-05 13:14:03 +13:00
Simon Welsh
b0121b541c
Add codesniffer that ensures indentation is with tabs.
2012-12-12 17:33:31 +13:00
Vitaliy
41efeedc30
Update javascript/GridField.js
...
The escape and unescape functions do not work properly for non-ASCII characters and have been deprecated. In JavaScript 1.5 and later, use encodeURI, decodeURI, encodeURIComponent, and decodeURIComponent.
I have problem with cyrillic http://www.silverstripe.org/general-questions/show/21433
2012-11-15 03:31:37 +02:00
Mateusz Uzdowski
e84b0339d8
FIX Pass only the search string where testing, not the entire form.
2012-10-15 16:47:54 +13:00
Ingo Schommer
1a91431d39
Query param searches for GridFieldAddExistingAutocompleter
...
Fixes issues with query construction in JS when the search URL
already contains GET paramters (e.g. when using the 'translatable'
module).
2012-07-17 13:26:33 +02:00
Mateusz Uzdowski
8d469b66c8
BUGFIX: add missing onunmatches
2012-05-23 16:24:15 +12:00
Mateusz Uzdowski
37399f88db
BUGFIX: add missing _super calls to all matchers and unmatchers
...
Otherwise some matchers might not be triggered as expected.
2012-05-18 12:27:30 +12:00
Mateusz Uzdowski
3d0876c8f5
BUGFIX: put all CMS JS code into 'ss' namespace.
...
Conflicts:
admin/javascript/LeftAndMain.js
javascript/GridField.js
2012-05-18 12:27:30 +12:00
Naomi Guyer
f0c61c20df
BUGFIX: GridField filter
...
Make sure the new class is used consistently, and has the correct css
applied to it.
2012-05-17 11:15:53 +12:00
Ingo Schommer
dfa01c8ce1
Merge pull request #446 from adrexia/sapphire
...
---
MINOR: SCSS refactoring
1. Refactored some gridfield styles to enable reuse (created a mixin file to hold mixins that generate specific css objects/elements).
2. Made some scss comments use // so they wouldnt appear in generated css
ENHANCEMENT: Gridfield usability (fixes 7215)
1. Modified gridfield to use default colours
2. Added ability to show and hide the filter
3. Design changes to icons used
4. Gridfield template fixes: Took out broken mark-up from templates (spans were being inserted inside spans), and adjusted styles. Added extra class to template
5. Added "filter by ..." placeholder text to input fields
Conflicts:
css/GridField.css
2012-05-16 12:29:13 +02:00
Naomi Guyer
458171ff92
ENHANCEMENT: Gridfield usability (fixes 7215)
...
1. Modified gridfield to use default colours
2. Added ability to show and hide the filter
3. Design changes to icons used
4. Gridfield template fixes: Took out broken mark-up from templates
(spans were being inserted inside spans), and adjusted styles. Added
extra class to template
5. Added "filter by ..." placeholder text to input fields
2012-05-16 12:18:23 +12:00
Andrew Short
dc1ccfe251
MINOR: Made the JS class used for gridfield detail actions apply to .action-detail rather than specific actions.
2012-05-12 18:49:56 +10:00
Ingo Schommer
8c5e56fe31
Merge branch 'master' into integration
...
Conflicts:
admin/css/screen.css
dev/install/php5-required.html
2012-04-09 21:10:08 +02:00
Sam Minnee
e01b0aa3d0
ENHANCEMENT PjaxResponseNegotiator for more structured partial ajax refreshes, applied in CMS and GridField. Also fixes issues with history.pushState() and pseudo-redirects on form submissions (e.g. from page/add to page/edit/show/<new-record-id>)
2012-04-05 23:00:22 +02:00
Julian Seidenberg
14c3fd75a1
ENHANCEMENT: SSF-168 refactoring print button so that it opens print view in a new window. This is useful for debugging and also useful for when someone wants to use the print view not for printing, but for viewing a clean version of a gridfield without the surrounding CMS, using the view for copying and pasting into another app, for example.
2012-04-05 18:15:44 +12:00
Normann Lou
ba02e500e7
FEATURE added GridFieldPrintButton compoonent
2012-04-03 16:57:48 +12: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
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
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
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
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
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
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
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
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
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
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
Ingo Schommer
9f12c5a252
MINOR API for clientside reloading of GridField
2012-02-14 13:30:52 +01:00
Ingo Schommer
1b42b2afa7
MINOR GridField JS API for updating state
2012-02-14 13:30:51 +01:00
Ingo Schommer
4126b95cf7
ENHANCEMENT Allow selection of items in GridField (via JavaScript only)
2012-02-08 01:05:19 +01:00
Russell Michell
eb77c4b056
MINOR: Disabled sort-input focus+button move if only 1 such field exists
2012-01-10 12:28:24 +13:00
Stig Lindqvist
39372497df
BUGFIX GridField_Actions did not work in more complex Forms with tabsets (i.e SecurityAdmin) when using GridField_Action
...
BUGFIX Empty GridState data causes isset error
BUGFIX Last field of GridFieldFilter outputs wrong label
2012-01-09 18:41:23 +13:00
Stig Lindqvist
3c516b7b97
API CHANGE: Refactored GridField modifiers into GridField_ColumnProvider, GridField_HTMLProvider, GridField_ActionProvider, and GridField_DataModifier interfaces, all added as components in the config.
...
API CHANGE: Simplified state handling so that it's just a key store. Affectors are replaced with GridField_ActionProviders. API CHANGE: Removed GridField state manipulation actions instead opting for GridField_ActionProvider actions.
API CHANGE: Removed support for modifiers that add "body" rows, instead having core support for generating the body rows hardcoded into the GridField.
API CHANGE: Allow modification of columns across the whole GridField with the GridField_ColumnProvider interface.
API CHANGE: Renamed GridField_AlterAction to GridField_Action, and added actionName/args parameters, since it can be used for all actions (including batch actions and row actions)
API CHANGE: Removed GridFieldRow class.
2012-01-09 13:30:34 +13:00