Sean Harvey
befc80676d
Merge pull request #383 from adrexia/7210-close-filter-panel-default
...
ENHANCEMENT: Close filter panel(Track#7210)
2012-04-30 18:44:08 -07:00
Naomi Guyer
af5bd4d750
ENHANCEMENT: Close filter panel(Track#7210)
...
Make the filter panel closed every time unless explicitly opened. This
commit is dependent on a commit to the CMS that adds a class to the
template.
2012-05-01 11:12:47 +12:00
Ingo Schommer
85a331cc11
BUGFIX Choose first "action" button on submission of CMS forms via enter key, to avoid a form field button being autoselected ( fixes #7151 )
2012-04-30 17:13:39 +02:00
Ingo Schommer
3ee4459476
MERGE tabs url abs
2012-04-18 16:54:57 +02:00
Ingo Schommer
473d3a66b8
MINOR Fixed controller contexts in LeftAndMain->SiteTreeAsUL() - needs different context for edit links and determining "current page" (not applicable for CMSPagesController)
2012-04-17 22:33:30 +02:00
Ingo Schommer
35d4cd3da8
MINOR PJAX support for .cms-panel-link
2012-04-17 22:28:36 +02:00
Ingo Schommer
84b0a7d96c
MINOR Renamed .ss-tabset to .cms-tabset in cms templates to distinguish entwine selectors and add extra functionality (cookies, re-selecting tab, panel loading)
2012-04-17 17:40:37 +02:00
Ingo Schommer
d6eb1b6fff
ENHANCEMENT Added .cms-panel-deferred for lazy loading of CMS panels (for performance reasons)
2012-04-17 17:19:03 +02:00
Ingo Schommer
37777615cf
MINOR Ignore aborted ajax requests in CMS notifications
2012-04-17 17:12:15 +02:00
Ingo Schommer
0ef5d0b84f
MINOR Moved tree filtering in LeftAndMain from SiteTreeAsUL() into getSiteTreeFor() to allow filtering the initial tree (via GET parameters), rather than just through getsubtree()
2012-04-17 16:07:22 +02:00
Ingo Schommer
6bee103d14
MINOR Removed hardcoded children entries from CMS Menu (and record setting logic), as the related controllers have been merged to be accessible under the same top-level menu
2012-04-17 11:03:09 +02:00
Simon Welsh
3a6341a251
API-CHANGE sapphire folder can now be renamed.
2012-04-15 10:50:19 +12:00
Ingo Schommer
e2df1f4c5f
MINOR Removed $('.cms-content').loadForm(), its very similar to loadPanel() - accepts callbacks, but that's not specific to forms. Listen to 'afterstatechange' rather than 'loadform' events
2012-04-12 23:53:14 +02:00
Ingo Schommer
5cfbac63a2
MINOR Fixed PJAX panel loading when .cms-content is a split panel with tree and form view (regression caused by 452a507cc9
)
2012-04-12 12:29:20 +02:00
Mateusz Uzdowski
452a507cc9
BUGFIX: remove form auto-detection from the generic JS state handler.
...
Forms take care of PJAX state on their own in the submit and load functions (os-7126)
2012-04-12 11:31:28 +12:00
Ingo Schommer
ac45e5b9c0
Merge branch 'integration'
...
Conflicts:
admin/css/ie8.css
admin/css/screen.css
admin/scss/_style.scss
dev/install/config-form.html
dev/install/install.css
dev/install/php5-required.html
2012-04-11 16:31:12 +02:00
Ingo Schommer
a64715beeb
BUGFIX Calling tinyMCE.init() in sync with entwine rules to avoid uncached loading interfereing with call order ( fixes #6877 )
2012-04-10 21:41:00 +02:00
Ingo Schommer
3390ea390f
MINOR Updating tree nodes on each state change, rather than just listening to form reloads
2012-04-10 12:28:10 +02:00
Ingo Schommer
15e16f13e1
MINOR Retaining correct PJAX selector on (fake) redirects after form submissions
2012-04-10 12:27:40 +02:00
Julian Seidenberg
1e0b843353
ENHANCEMENT: refactoring code for making a link an ajax/history link. Removing the selector that targets .crumb and only applying the selector that turns links with cms-panel-link into ajax enabled links. Adding the cms-panel-link to those links that already have the crumb class.
2012-04-10 18:16:27 +12:00
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
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
94d985e0c4
MINOR Only disable chosen.js placeholder if no custom one exists
2012-03-05 17:41:50 +01:00
Ingo Schommer
eab8401c7d
MINOR Applying chosen.js behaviour to all <select multiple>, rather than arbitrarily limiting to a CheckboxSetField. Also fixed a bug where those fields would get the '.has-chzn' class even if it wasn't applied due to a missing <select> element.
2012-03-05 09:21:24 +01:00
Ingo Schommer
e8f9624b42
BUGFIX Moved window.beforeunload handler out of onmatch(), was applied multiple times and causing unsaved changes confirmation messages on forms which were no longer loaded
2012-03-05 09:13:19 +01: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
46628721fe
ENHANCEMENT Using chosen.js for group selection in Member->getCMSFields()
2012-03-02 20:46:22 +01:00
Ingo Schommer
9f5e26d12b
ENHANCEMENT Generic search form uses loadPanel() rather than being tied to GridField (requires backend changes, see AssetAdmin), and uses jquery.form to do resets
2012-03-02 15:20:17 +01:00
Ingo Schommer
23bd11281d
MINOR Ensure global CMS behaviour is applied in dialogs and frames like UploadField as well (they only have the .cms class, not .cms-container)
2012-03-01 11:59:28 +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
Ingo Schommer
7d10ff790c
MINOR Fixed JS notice/alerts in CMS
2012-02-29 17:15:52 +01:00
Ingo Schommer
5cc33ab843
Merge branch 'master' into integration
...
Conflicts:
admin/css/screen.css
admin/scss/_style.scss
2012-02-28 20:17:43 +01:00
Ingo Schommer
6e9bf8859e
MINOR Force full redraw when panels are initiated
2012-02-28 18:09:33 +01:00
Ingo Schommer
da57794014
MINOR Using ":submit" selector instead of ":button" in order to capture <input> tags as well
2012-02-28 18:09:32 +01:00
Ingo Schommer
25d0196b04
MINOR Merge errors
2012-02-28 18:09:30 +01:00
Normann Lou
f7030c56a5
BUGFIX: Page tree node reflects any changes made to page (title, publication status) in its edit view, implemented on the level of cms-content dom element, rather than cms-edit-form level
2012-02-27 12:47:36 +13:00
Normann Lou
587d195647
BUGFIX: Page tree node reflects any changes made to page (title, publication status) in its edit view
2012-02-24 16:46:46 +13:00
Ingo Schommer
8fcb40cdf0
Merge remote-tracking branch 'silverstripe-scienceninjas/pull/SSF-12'
2012-02-23 23:38:29 +01:00
Ingo Schommer
30989b598d
ENHANCEMENT Added path manipulation lib from jQuery.mobile, using it to ensure all URLs are made absolute (to fix IE issues)
2012-02-23 23:29:59 +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
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
39dc5ae301
MINOR Load breadcrumb links via ajax into panels in CMS
2012-02-23 23:29:57 +01:00
Ingo Schommer
3cad19a97e
MINOR JS formatting
2012-02-21 17:46:58 +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
abfa16fa70
ENHANCEMENT Using native jQuery UI buttons and icon styling for a less coupled implementation (e.g. assuming that a "constructive" button always has a specific icon, or one at all). All CMS UI buttons switched to use <button> markup, which allows for inline icons and correctly aligned multi-line button labels.
2012-02-17 15:58:32 +01:00
Ingo Schommer
743a26be05
MINOR Reverted conditional redraw of preview panel introduced in a1e9c0f4
, too unstable
2012-02-17 15:58:31 +01:00
Ingo Schommer
bb7c128025
MINOR JS syntax errors
2012-02-17 15:58:31 +01:00
Ingo Schommer
4e99af7047
MINOR Using HTML5 data attributes for denoting layout in templates
2012-02-17 13:35:54 +01:00
Ingo Schommer
ac56fef8b4
MINOR Removed jQuery.metadata usage in CMS, use jQuery.data() and HTML5 data attributes instead. Also fixes errors where jQuery.metadata tries to eval() HTML5 data attrs, which isn't always applicable
2012-02-17 13:35:53 +01:00
Ingo Schommer
a3d8185d8e
MINOR Click behaviour for special "panel loading" links in the CMS
2012-02-17 13:33:38 +01:00
Ingo Schommer
ca9b78f255
MINOR Re-apply custom jstree onselect behaviour on partial form refreshes
2012-02-17 13:33:38 +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
0e3e2904a4
MINOR Redraw the whole layout on form submit, instead of relying on .cms-content onmatch() which doesn't get fired on partial refreshes (e.g. in CMSPageEditController)
2012-02-16 12:17:03 +01:00
Ingo Schommer
d41f37f771
MINOR Hiding collapsed panel views by CSS to avoid FOUC, and initialising component without triggering events to avoid redrawing the whole CMS layout twice due to it listening for panel changes
2012-02-16 11:45:07 +01:00
Ingo Schommer
51fe1fa1ca
MINOR More events for LeftAndMain.Panel.js
2012-02-15 14:26:46 +01:00
Ingo Schommer
a1e9c0f41e
ENHANCEMENT CMS panels restructured to use two new types of "tools" templates, fetched through LeftAndMain->Tools() and LeftAndMain->EditFormTools(). Requires less overloading of template markup.
2012-02-15 14:26:45 +01:00
Ingo Schommer
060e110481
MINOR Allow expanding a collapsed panel by a click on the visible surface
2012-02-15 14:26:45 +01:00
Ingo Schommer
2acce7b632
MINOR Moved menu-specific panel logic in LeftAndMain.Menu.js to avoid weakening base library
2012-02-15 14:26:45 +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
a96429cba6
MINOR Removed unused "nullConverter" callback in TinyMCE CMS integration
2012-02-14 13:53:34 +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
Normann Lou
4bd526fbee
MINOR Don't follow <a> tag's href if click on page-icon or drag-icon (SSF-109)
2012-02-13 09:52:59 +01:00
Ingo Schommer
55ddbd38bc
ENHANCEMENT Replaced custom profile dialog JS with generic ssui-core.js functionality. Removed cookie state saving abilities for now, not a high priority to re-implement)
2012-02-08 15:34:40 +01:00
Normann Lou
80a08aab60
MINOR Collapsing filter breaks the main navigation (SSF-108)
2012-02-03 15:27:24 +01:00
Normann Lou
deee8a294a
BUGFIX: SSF-107, Filter bar should be collapsed by default, this fix works with fix of cms repo commit eec833215dcaa7a4510f7b4724413a39160d1ad7 (see gist https://gist.github.com/1720221 )
...
MINOR: correct in-line document
2012-02-03 15:27:24 +01:00
Ingo Schommer
c0d187071a
ENHANCEMENT New UploadField class to replace FileIframeField, ImageField and SimpleImageField
2012-02-03 01:00:08 +01:00
Ingo Schommer
8ba585be27
MINOR Fixing button whitespace gaps and "interrupted" buttonsets
2012-01-23 10:23:49 +01:00
Wolf Vollprecht
0444d4ea16
ENHANCEMENT Buttonsets for CMS ( fixes #6631 ), using new jQuery UI button() to style buttons in CMS, moved JavaScript to LeftAndMain.js as the button styles only apply with an .Actions container now
2012-01-23 09:35:07 +01:00
Ingo Schommer
a6cc7d8392
MINOR Enforce SiteTree::$allowed_children in tree drag'n'drop for VirtualPage originals
2012-01-14 13:07:13 +01:00
Sam Minnée
5ab38ae13b
Merge pull request #156 from chillu/gridfield-assetadmin
...
Gridfield assetadmin
2012-01-09 13:08:29 -08:00
Ingo Schommer
a1c63a2912
MINOR Only setting style attributes in LeftAndMain panel handling if it was previously set
2012-01-09 21:21:41 +01:00
Ingo Schommer
a06300f0b4
ENHANCEMENT GridFieldItemEditView (and specific view and behaviour for usage in CMS)
2012-01-09 21:17:56 +01:00
Ingo Schommer
0caf1991cf
MINOR Better failsafes for tree hints (allows move if hint for class is if not defined)
2012-01-09 13:20:02 +01:00
Ingo Schommer
e7747b0240
ENHANCEMENT Saving panel collapse UI state in cookie
2012-01-06 16:58:00 +01:00
Ingo Schommer
a633326c3e
ENHANCEMENT Allow Requirements::add_i18n_javascript() to return its files more optimised inclusion, using it in LeftAndMain
2012-01-06 15:34:29 +01:00
Ingo Schommer
6edf055dff
ENHANCEMENT Added children toggle actions to CMS menu, fixed menu link update behaviour when records change
2012-01-05 23:17:55 +01:00
Ingo Schommer
c0c073e03f
MINOR Disable 'preview' button if not applicable
2012-01-03 18:11:18 +01:00
Ingo Schommer
7af52b140b
MINOR Applying button behaviour to .cms namespace in order to include dialogs as well
2012-01-03 09:36:23 +01:00
Ingo Schommer
53506f37f2
MINOR Don't remove checkboxes from page tree after batch actions, as it causes an inconsistent UI ('multi-select' view is still enabled) ( fixes #6758 )
2011-12-21 10:48:53 +01:00
Ingo Schommer
0d26776e09
MINOR Deselecting tree items after swtiching back from multi-select ( fixes #6810 , thanks wolfv)
2011-12-21 10:19:42 +01:00
Ingo Schommer
30377f277e
MINOR Update CMS menu state on form submission (as well as history state change)
2011-12-20 17:46:44 +01:00
Ingo Schommer
ac963755dd
ENHANCEMENT Support for fake "redirects" in ajax responses via History.replaceState() (used e.g. for an add form loading the record for editing afterwards, under its own URL)
2011-12-20 17:46:38 +01:00
Ingo Schommer
11b3b43c84
MINOR Only load preview panel if its visible, to avoid unnecessary asset loads and processing. Only refresh edit form view from preview events when its visible.
2011-12-19 15:06:04 +01:00
Ingo Schommer
058719571c
ENHANCEMENT Allowing to inject <style> tags via ajax responses in LeftAndMain.js (used for the CMS page tree icons)
2011-12-19 13:33:07 +01:00
Ingo Schommer
bc2bb53274
MINOR Fixed drag'n'drop in SecurityAdmin (thanks frankmullenger)
2011-12-18 16:01:36 +01:00
Will Rossiter
01541487ca
MINOR: code formatting
2011-12-17 16:06:56 +13:00
Will Rossiter
a04c1410e1
BUGFIX: update admin menu links when current page ID updates. Fixes #6768 .
2011-12-17 15:51:02 +13:00
Will Rossiter
6977484f99
ENHANCEMENT: scale cms dialog popups based on browser. BUGFIX: #6760 ensure scrolling is supported in cms dialogs
2011-12-17 13:51:10 +13:00
Ingo Schommer
bad1b88942
MINOR Fixed change detection false positives for TinyMCE in IE, use TinyMCE.isDirty() rather than string comparison
2011-12-15 23:42:19 +01:00
Ingo Schommer
bf11a32336
MINOR Fixed button layout height adjustment in CMS, reduced redraw() invocations on cms-edit-form
2011-12-15 23:42:16 +01:00
Ingo Schommer
adb5acc8bb
MINOR Hiding panel while redrawing via ajax (for repaint/reflow performance), enforcing redraw of tabs before their own onmatch() to avoid layout glitches
2011-12-15 23:41:37 +01:00
Ingo Schommer
d732a78852
MINOR Don't toggle CMS panels if state is already correct (to avoid the CMS UI doing three expensive redraw() invocation in its event listeners where one is sufficient)
2011-12-15 20:38:36 +01:00
Ingo Schommer
7253746bdc
MINOR Fixed IE6 compat note styling
2011-12-15 20:38:35 +01:00
Ingo Schommer
64f6b460e9
BUGFIX Fixed change tracking of checkboxes and radiobuttons in jquery.changetracker plugin
2011-12-15 20:38:35 +01:00
Ingo Schommer
ddad7fb110
MINOR Fixed jquery.changetracker JSpec tests, added support for calling public methods as string arguments on plugin (which was already assumed to be the case in the JSpec tests)
2011-12-15 20:38:35 +01:00
Ingo Schommer
482324b6ae
BUGFIX Fixed form change tracking in the CMS, integrated it into menu changes. Reduced TinyMCE coupling.
2011-12-15 20:38:35 +01:00
Ingo Schommer
a6e2316766
ENHANCEMENT Created $('.cms-container').loadPanel() as a wrapper around History.pushState() to allow for global change tracking
2011-12-15 20:38:31 +01:00
Ingo Schommer
0563018f52
MINOR Moved autocomplete logic from LeftAndMain.js to LeftAndMain.EditForm.js where it belongs
2011-12-15 11:38:29 +01:00
Ingo Schommer
d3477cc13c
BUGFIX Fixed CMS panel expansion after changing links in the CMS (needed to retain the layout settings of the old panel to keep the preview expanded)
2011-12-15 00:48:51 +01:00
Ingo Schommer
2777637d82
MINOR Fixed preview behaviour blacklist, was including "CMSMain" which is applied to every CMS panel (so it didn't re-load the CMS edit forms on any clicks in the preview iframe)
2011-12-15 00:48:51 +01:00
Ingo Schommer
1c20213dbd
ENHANCEMENT Hide "edit page" menu entry in CMS when no page is opened for editing (for usability reasons)
2011-12-15 00:48:50 +01:00