Commit Graph

117 Commits

Author SHA1 Message Date
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
Ingo Schommer
f3494839b0 MINOR Improved CMS loading spinner visibility by enforcing a higher z-index in its own element 2011-12-15 00:48:50 +01:00
Ingo Schommer
f57a3018a3 MINOR Improved perceived UI feedback by hiding various elements until they're styled properly (TinyMCE, tree) 2011-12-15 00:48:48 +01:00
Ingo Schommer
9c6cbf7012 BUGFIX Making HTML5 History support optional, so we can disable HTML4 hash change fallback 2011-12-15 00:48:34 +01:00
Ingo Schommer
1b7c33574a MINOR Fixed JSON parsing error when no ss-ui-dialog cookie is defined 2011-12-15 00:48:34 +01:00
Ingo Schommer
f2ec8b0d54 BUGFIX Enforcing TinyMCE textarea call on window.load in addition to entwine/DOMReady to ensure TinyMCE.init() has been called and all plugins are loaded. 2011-12-15 00:48:29 +01:00
Ingo Schommer
483704c894 MINOR Setting entwine warning level outside of entwine block, as it changes the meaning of the $ alias and doesn't apply the new level 2011-12-14 16:15:36 +01:00
Ingo Schommer
0dd32baf1e MINOR Changed execution order in preview JS to fix layout issues with collapsed preview panel in IE7 (SSF-42) 2011-12-12 21:30:16 +01:00
Ingo Schommer
02d1ff80a9 BUGFIX Removed synchronous entwine mode when loading CMS UIs via ajax, which effectively brings down IE (e.g. roughly 10x as many "events" in DynaTrace for IE8) 2011-12-12 18:37:48 +01:00
Ingo Schommer
2170835aeb BUGFIX Using faster entwine selectors (class/attr rather than CSS3 pseudo selectors) 2011-12-12 18:35:25 +01:00
Ingo Schommer
1553c3e69c BUGFIX Fixed ModelAdmin.js dropdown panel selection 2011-12-02 10:53:59 +01:00
Ingo Schommer
7924ce9f74 MINOR Fixed some JS warnings 2011-10-29 20:58:48 +02:00
Ingo Schommer
6683b380b4 MINOR Protection against infinite initialization/callback loops caused by loading a full page template via ajax (in LeftAndMain.js) 2011-10-29 20:47:11 +02:00
Ingo Schommer
ec2b0a437d MINOR Apply loading styling to edit forms as well as content areas 2011-10-29 20:46:41 +02:00
Ingo Schommer
a5652ab3aa BUGFIX Added 'mceRemoveControl' calls to TinyMCE logic in CMS in order to reinitialise editors properly after replacing the panels via ajax 2011-10-29 13:27:10 +02:00
Will Rossiter
aba6b44163 MINOR remove console.log. MINOR clean up for icon sprites in the cms and content toolbars 2011-10-29 15:47:07 +13:00