Commit Graph

212 Commits

Author SHA1 Message Date
Ingo Schommer
cf304044b8 Merge branch 'master' into integration 2012-04-10 00:39:29 +02:00
Ingo Schommer
1742b4b742 BUGFIX Fixed loading/saving regressions due to new PJAX logic introduced in e01b0aa3d0 2012-04-10 00:37:14 +02: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
Ingo Schommer
aebbb10c9f MINOR Skip processing in CMS on empty ajax responses, as they're usually a pseudo redirect (via X-ControllerURL) 2012-04-05 23:00:22 +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
Ingo Schommer
72985b6f42 MINOR Artificially triggering onsubmit event on CMS form buttons rather than calling submitForm() method, in order to give forms like .cms-add-form the option to overload its behaviour 2012-04-05 23:00:22 +02:00
Ingo Schommer
f97804bbe2 MINOR Fixed specificity of .add-form behaviour 2012-04-05 23:00:22 +02:00
Ingo Schommer
ac6f9e9987 MINOR Normalize trailing slashes in X-ControllerURL handling to avoid double requests caused by SS_HTTPRequest modifying the original URL (removing trailing slash etc) 2012-04-04 16:47:14 +02:00
Ingo Schommer
c2b741642e MINOR Moved X-ControllerURL handling into global ajax response handlers to avoid code duplication 2012-04-04 16:47:13 +02:00
Normann Lou
f1e0951483 ENHANCEMENT: allow each dialog pop to have their own extra class. 2012-04-03 12:50:13 +12:00
Sean Harvey
f8a6db8d31 MINOR Temporarily reverted X-ControllerURL push state, as the header doesn't get set
correctly in LeftAndMain::handleRequest() correctly. This fixes saving
pages until X-ControllerURL has been corrected.
2012-04-03 11:29:44 +12:00
Sean Harvey
a2979f0551 BUGFIX Ensure that origLayoutClasses is always an array when considered
empty, as join() will be called later and causes a JS error on an empty
string.
2012-04-02 14:29:02 +12:00
Ingo Schommer
6c91aa0ec5 BUGFIX Force referer via "BackURL" POST data in CMS to work around IE problems with sending the base URL as the referer instead of the actual one (#7002) 2012-03-30 16:51:43 +02:00
Ingo Schommer
1091c7b944 BUGFIX Don't replace pushState() if emulated, as it will re-load the new URL via ajax, effectively duplicating every request in IE (#7002) 2012-03-30 16:51:43 +02:00
Ingo Schommer
83adffd7cd MINOR Fixed var names in LeftAndMain.js 2012-03-30 16:51:42 +02:00
Ingo Schommer
3f4aba5545 MINOR Avoid breaking IE on CMS ajax responses which don't contain CSS class names (splitting on NULL) (#7002) 2012-03-30 16:51:42 +02:00
Ingo Schommer
c518a19ec2 BUGFIX Replaced logic for checking external URLs in CMS Menu with more stable jQuery Mobile codebase (fixes problems on IE not loading menu entries via ajax) (#7002) 2012-03-30 16:51:42 +02:00
Ingo Schommer
efc30fd39e MINOR Removed setRightTitle() special case (and too specific styling) from Group->getCMSFields(), implemented title attribute for chosen.js drop downs instead (to be styled with more friendly title popovers) 2012-03-27 17:07:50 +02:00
Normann Lou
7a27832297 BUGFIX fix the field generated by choser with 0 width in an iFrame popup 2012-03-27 17:06:58 +02:00
Normann Lou
4c1cb59116 MINOR: fix the bug that ModelAdmin search filter doesn't work when arriving from another section of the CMS. 2012-03-27 15:37:32 +02:00
Sam Minnee
f5f655bd7a BUGFIX: Show a correct growl message when ajax returns a JS error rather than HTTP error. 2012-03-24 16:35:18 +13:00
Will Rossiter
06dd79f34c MINOR: remove console.log 2012-03-24 14:22:29 +13:00
Will Rossiter
39742f53e5 BUGFIX: #7036 refresh CMS panel when adding a new file 2012-03-24 14:20:46 +13:00
Simon Welsh
673dd7d992 MINOR Remove unused AssetTableField js file 2012-03-24 12:36:59 +13:00
Sean Harvey
fea3a4eea0 MINOR Removed useless .DS_Store files 2012-03-20 20:41:10 +13:00
Ingo Schommer
2c42ffdba7 MINOR Removed ModelAdmin JS which no longer applies due to rewrite 2012-03-12 17:34:31 +01:00
Ingo Schommer
d46a4504f5 MINOR Fixed scope problems caused by separating out getTreeConfig() 2012-03-12 14:44:09 +01:00
Ingo Schommer
51ff4004d1 ENHANCEMENT Allowing ajax responses on CMS form submissions to "break out" of the form element they were triggered through, by looking for existence of ".cms-content" node in response 2012-03-12 13:30:17 +01:00
Ingo Schommer
e5ade1ba12 MINOR Making tree config overrideable 2012-03-12 11:40:08 +01:00
Normann Lou
18adfb0cff BUGFIX SSF-53 : avoid to use ":submit" pseudo class in a jQuery selector 2012-03-12 09:36:09 +01:00
Ingo Schommer
115ea86b0c MINOR Added support for preselected tabs in $('.ss-ui-tabs-nav') 2012-03-09 15:16:00 +01:00
Ingo Schommer
e12a3a4ab7 API CHANGE ModelAdmin uses GridField, DataList and new layout. Removed ModelAdmin_CollectionController, ModelAdmin_RecordController and related functionality.
API CHANGE Removed ModelAdmin->ResultColumns()/ColumnSelectionField, selection of own fields no longer possible through the UI, to be replaced by a more generic GridField component
2012-03-09 15:15:58 +01:00
Ingo Schommer
08c3e7edf3 MINOR More flexible form detection in LeftAndMain.Tree.js 2012-03-08 18:22:30 +01:00
Ingo Schommer
b836bce521 MINOR Fixed double form submit (in some cases button click events aren't cancelled despite returning FALSE) 2012-03-08 18:22:30 +01:00
Ingo Schommer
ee2b220780 MINOR Supporting X-ControllerURL in form submits 2012-03-08 18:22:30 +01:00
Ingo Schommer
139ccc37da MINOR Highlighting modified nodes (basic success visualization) 2012-03-08 01:49:36 +01:00
Ingo Schommer
137839ae4e MINOR Fixed BatchAction.js behaviour 2012-03-08 01:49:36 +01:00
Ingo Schommer
6b910ca25f ENHANCEMENT Disable batch action selection unless we're in multiselect mode (no way to single select in tree), updating chosen.js and jquery.button state properly 2012-03-08 01:49:35 +01:00
Ingo Schommer
9a96b92c81 MINOR Moved $('.cms-panel-link') and $('.cms-link-ajax') behaviours to "higher order" namespace 2012-03-07 17:17:47 +01:00
Ingo Schommer
bb8bda862e MINOR Allowing .cms-content-fields to have its own layout 2012-03-07 16:20:28 +01:00
Ingo Schommer
4e9a4bd9c9 ENHANCEMENT Changed batch action logic, no longer updates applicable pages on batch action drop down selection, as this selection triggers the action itself. To be replaced with a more powerful dialog system in case the action is disallowed on some nodes 2012-03-06 21:38:35 +01:00
Ingo Schommer
36ed7d255f MINOR Fixed tree title updating after batch action completion 2012-03-06 21:38:35 +01:00
Ingo Schommer
f39680206a BUGFIX Fixed $('.cms-tree').getNodeByID(), was always returning tree instance instead of node because 'get_node' isn't a public method, hence ignored 2012-03-06 21:38:35 +01:00
Ingo Schommer
e147971910 MINOR Don't show status message for normal HTTP responses in BatchActions 2012-03-06 21:38:35 +01:00
Ingo Schommer
ea4bbe594c ENHANCEMENT Allowing individual parent selection in tree, rather than auto-selecting children (precondition for applying batch actions independently) 2012-03-06 21:38:35 +01:00
Ingo Schommer
746e3ea05e MINOR Avoid applying jstree plugin multiple times when onmatch is called on CSS class changes, rather than DOM insertions 2012-03-06 21:38:34 +01:00
Ingo Schommer
0c6bc2f7a1 MINOR Moving Tree.js entwine rules into namespace (wasn't applying multiple/draggable toggles because of that) 2012-03-06 21:38:34 +01:00
Julian Seidenberg
ee37adbc87 ENHANCEMENT: SSF-33 Binding the 'cms-link-ajax' class to a javascript function that triggers a CMS ajax method and displays a status message 2012-03-06 18:22:01 +13:00
Julian Seidenberg
ebf23abbbf ENHANCEMENT: SSF-33 always selecting the first tab (list view) when doing a search 2012-03-06 13:46:38 +13:00
Ingo Schommer
0117b32fee API CHANGE Removed MemberTableField, use GridField with GridFieldConfig_RelationEditor instead 2012-03-05 17:41:51 +01:00