Commit Graph

98 Commits

Author SHA1 Message Date
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
Will Rossiter
6b88006456 BUGFIX show scroll bar on menu and side panels in adminstration section rather than hiding 2011-10-29 15:47:07 +13:00
Ingo Schommer
98b4fe21d9 Merge branch 'candidasa-cms-enhancements' 2011-10-11 09:37:18 +02:00
Julian Seidenberg
f807aa01b2 ENHANCEMENT: introducing a flight delay (using the jQuery HoverIntent plug-in) to prevent "sloppy mouse movement" from instantly closing the flyout menu when the mouse leaves the area. Also fixes problem with the menu in IE7. 2011-10-10 14:00:47 +13:00
Julian Seidenberg
df1de11a63 BUGFIX: renaming "triangle" to "flyout-indicator" and fixing bug when switching between pages in the CMS after collapsing left-hand side menu 2011-10-10 13:24:27 +13:00
Julian Seidenberg
9fb1b32e01 ENHANCEMENT: Collapsed main menu view (SSO-7) 2011-10-07 17:48:53 +13:00
Ingo Schommer
443777e789 MINOR Selecting parents of nested menu entries by default in LeftAndMain.Menu.js 2011-10-04 13:16:55 +02:00
Julian Seidenberg
90d4321c52 ENHANCEMENT: adding an additional overlay-light div that is used when switching between pages by ajax. The dialog pop-up uses the default "ui-widget-overlay", but that overlay is darker than "ui-widget-overlay-light". Having two overlays prevents weird graphic effects when switching pages using the darker overlay (SSO-12) 2011-09-29 17:09:36 +13:00
Will Rossiter
1732a17114 Merged new-orm into datagrid 2011-09-26 16:47:54 +13:00
Ingo Schommer
8adb259555 MINOR Exclude buttons from focusing first elements in CMS edit form, as it stuffs up the layout engine 2011-09-19 21:34:03 +02:00
Ingo Schommer
b4fd20dc3c MINOR More flexible definition of non-previewable CMS interfaces 2011-09-19 21:33:35 +02:00
Ingo Schommer
c862b2423b MINOR Fixed merge errors from 'history-panel' branch 2011-09-19 21:01:17 +02:00
Will Rossiter
2036354d8d ENHANCEMENT: implemented CMSPageHistoryController with comparsion view, single version view into new CMSMain interface 2011-09-19 17:26:01 +02:00
Will Rossiter
60cba7dd76 BUGFIX: fixed submenu not opening in cms-menu when cms loads on page other than edit page section 2011-09-19 17:22:36 +02:00
Ingo Schommer
ce8e72cf0e MINOR Removing executable flag from all files (thanks miiihi) 2011-09-18 22:04:02 +02:00
Julian Seidenberg
c72a6131fe BUGFIX: fixing random changing of access tab radio buttons when refreshing the CMS with a URL such as /admin/page/settings/show/1#Root_Access in Firefox 2011-08-31 10:55:40 +12:00
Ingo Schommer
4461cae31b ENHANCEMENT New CMSPreviewable interface class to standardize metadata making a record previewable by the CMS.
ENHANCEMENT New "preview" and "edit" buttons to toggle between preview and cms views. Reinstated utility links to switch between draft and live preview (based on SilverStripeNavigator) (formerly called "AjaxSwitchView")
2011-08-12 17:05:50 +02:00
Ingo Schommer
c06d52dce2 MINOR Delegated JavaScript layout from .cms-container to redraw() methods on the individual panels 2011-08-12 14:29:18 +02:00
Ingo Schommer
dacdade4b0 ENHANCEMENT Removed automatic redirection to admin URLs in ContentController, too counter-intuitive and hard to implement consistently, while still allowing linkage of pages without CMS around them. Use $SilverStripeNavigator in custom Page.ss to link a page to its admin view for logged-in users. 2011-08-12 14:28:44 +02:00
Ingo Schommer
6d26a88442 MINOR Better redrawing of panels loaded via ajax in CMS (no jslayout/tabset glitches, loading overlay) 2011-08-12 14:28:44 +02:00