Commit Graph

70 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
a96429cba6 MINOR Removed unused "nullConverter" callback in TinyMCE CMS integration 2012-02-14 13:53:34 +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
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
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
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
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
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
Will Rossiter
01541487ca MINOR: code formatting 2011-12-17 16:06:56 +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
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
7253746bdc MINOR Fixed IE6 compat note styling 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
1b7c33574a MINOR Fixed JSON parsing error when no ss-ui-dialog cookie is defined 2011-12-15 00:48:34 +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
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
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
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
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
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
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
Will Rossiter
9a340e7eb4 ENHANCEMENT: Added Chosen jQuery library for providing styled and searchable dropdowns. BUGFIX: removed explict width on TreeDropdownFields, instead using a width from jQuery. 2011-08-05 15:46:57 +12:00