Ingo Schommer
ba931706d6
MINOR Defensive programming in multifile.js
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92804 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:19:10 +00:00
Ingo Schommer
c2e1c12bba
MINOR Moved 'delete files' logic from AssetAdmin.DragDrop.js into AssetTableField.js
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92803 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:19:08 +00:00
Ingo Schommer
067b7bcaeb
ENHANCEMENT Changed AssetAdmin interface 'delete' action to behave same as main CMS interface: Show 'batch actions' with dropdown. Added AssetAdmin_DeleteBatchAction class.
...
ENHANCEMENT Moved 'Sync files' action in AssetAdmin from toplevel tab to the bottom of the tree and hooked up to AssetAdmin->SyncForm to avoid hardcoding the URL.
ENHANCEMENT Changed AssetAdmin interface 'create' button to show dialog and 'go' button, and behave similar to the main CMS interface
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92802 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:19:05 +00:00
Ingo Schommer
e47ce88853
ENHANCEMENT Making CMSBatchActionHandler specific to record class, in order to have different batch actions for AssetAdmin (removing folders). Added CMSBatchActionHandler->batchActions() and changed internal representation of batch actions
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92801 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:19:02 +00:00
Ingo Schommer
58cd7beb33
MINOR Renamed CMSMain->addpage() to CMSMain->doAdd()
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92800 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:18:59 +00:00
Ingo Schommer
c9c67d4ae6
MINOR Moved AssetAdmin.js dragdrop logic in new file
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92799 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:18:57 +00:00
Ingo Schommer
34f8f9eaf3
MINOR Moved batch actions javascript from CMSMain.BatchAction.js to LeftAndMain.BatchActions.js to make it reuseable in AssetAdmin
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92798 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:18:55 +00:00
Ingo Schommer
b9bfcc99b5
API CHANGE Renamed CMSMain->AddPageOptionsForm() to AddForm()
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92797 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:18:51 +00:00
Ingo Schommer
604c9798a2
removed overflow from top menu bar (was showing a scrollbar)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92796 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:18:47 +00:00
Ingo Schommer
08dc3f0de9
evenly pad out action buttons at bottom
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92795 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:18:45 +00:00
Ingo Schommer
7d8c34956d
made the west panel default a little wider to allow for new tab padding
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92794 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:18:43 +00:00
Ingo Schommer
3b8767e9fb
align text on welcome screen
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92793 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:18:40 +00:00
Ingo Schommer
0ae85392a6
styles for empty form on load/no pages open
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92792 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:18:38 +00:00
Ingo Schommer
50d058b0cc
styles for righthand content panel to match sitetree
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92791 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:18:35 +00:00
Ingo Schommer
6ce44dbd49
removed unnecessary background colour on treepanes
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92790 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:18:33 +00:00
Ingo Schommer
9fdf14a339
Added base overrides for jquery-ui
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92789 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:18:31 +00:00
Ingo Schommer
1192d5b671
Reimplementation for reports ( #49 ) - removing unneeded code and remaking the template to use standard SiteTree functionality.
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92788 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:18:28 +00:00
Ingo Schommer
a9adcbefaa
MINOR Overloading 'create' button for AssetAdmin.js to perform action instead of opening a tab.
...
MINOR Moved drag/drop functionality into new AssetAdmin.DragDrop.js location (will most likely be temporary until we switch to jQuery drag/drop)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92787 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:18:25 +00:00
Ingo Schommer
8d0c82ba52
MINOR Syntax in LeftAndMain.js
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92786 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:18:22 +00:00
Ingo Schommer
2fce8cf06e
MINOR Adjusted AssetAdmin->getEditForm() to comply with changed javascript - it returns the rendered form now
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92785 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:18:19 +00:00
Ingo Schommer
9504fc1d57
BUGFIX Removed LeftAndMain.js requirement from AssetAdmin->uploadIframe(), unclear why its needed, and it breaks due to missing jquery/concrete dependencies
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92784 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:18:15 +00:00
Ingo Schommer
97f74765fa
MINOR Removed duplicate greybox.css requirement from AssetAdmin
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92783 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:18:10 +00:00
Ingo Schommer
1ce99bc5c4
MINOR Removed unused refreshAsset() javascript from AssetAdmin.js
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92782 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:18:08 +00:00
Ingo Schommer
927c28baad
MINOR Removed 'delete unused items' javascript from AssetAdmin.js
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92781 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:18:06 +00:00
Ingo Schommer
69f8bc52ea
BUGFIX Fixed iframe removal javascript in LeftAndMain.EditForm.js
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92780 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:18:04 +00:00
Ingo Schommer
4d4f2ce0a4
MINOR Added jquery-live-extensions plugin to support 'change' events in concrete
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92779 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:18:02 +00:00
Ingo Schommer
52d56fda05
MINOR Making full result table rows in ModelAdmin selectable
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92778 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:17:59 +00:00
Ingo Schommer
17392ff42b
MINOR Fixed LeftAndMain.EditForm.js button onclick, concrete is buggy
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92777 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:17:57 +00:00
Ingo Schommer
5ab645e35c
MINOR Formatting
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92776 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:17:55 +00:00
Ingo Schommer
df46717bf0
BUGFIX Fixed ClassName change detection in javascript
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92775 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:17:54 +00:00
Ingo Schommer
4decff9907
BUGFIX Fixed resizing problem with LeftAndMain.js->resizeChildren() caused by jQuery UI tabs and FOUC
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92774 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:17:52 +00:00
Ingo Schommer
2683a5ae62
MINOR Making full result table rows in ModelAdmin selectable
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92773 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:17:49 +00:00
Ingo Schommer
c9646d8d43
MINOR Respecting FormField->extraClass() settings in AssetTableField.ss, CommentTableField.ss and MemberTableField.ss
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92772 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:17:47 +00:00
Ingo Schommer
7223c852e1
MINOR Added loading indicator to search button in ModelAdmin
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92771 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:17:44 +00:00
Ingo Schommer
4c71322997
ENHANCEMENT Added form.clickedButton to all forms triggered inside LeftAndMain javascript
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92770 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:17:43 +00:00
Ingo Schommer
650d44dd57
ENHANCEMENT Reimplemented ModelAdmin history feature as separate javascript file based on jQuery.concrete. It removes any dependencies to PHP code or existing markup, which means it can be disabled if not required.
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92769 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:17:41 +00:00
Ingo Schommer
233221e2e0
MINOR More robust width/height detectino for layout manager in LeftAndMain.js
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92768 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:17:38 +00:00
Ingo Schommer
6f2927b538
MINOR Passing through url parameter in custom event for Form_EditForm javascript
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92767 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:17:36 +00:00
Ingo Schommer
001151a66b
API CHANGE Adjusted ModelAdmin CSS, JS and PHP to fit with underlying LeftAndMain changes: Using jquery.concrete, removing some redundant form saving logic in ModelAdmin.js, returning <form> tags within ajax responses in ModelAdmin controllers
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92766 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:17:34 +00:00
Ingo Schommer
1a5ed26cd5
ENHANCEMENT Making jQuery.layout dimension settings in CMS configurable through CSS, to allow for easy overloading without using the javascript object (e.g. making the sidebar wider in ModelAdmin through ModelAdmin.css)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92765 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:17:29 +00:00
Ingo Schommer
3fb7c27ae3
MINOR Ussing currentPageID() in ReportAdmin instead of hardcoding to
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92764 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:17:27 +00:00
Ingo Schommer
e13bb588d3
MINOR concrete specs in LeftAndMain.EditForm.js
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92763 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:17:25 +00:00
Ingo Schommer
05510ca65f
MINOR Rounded corners for notice-wrap layer in CMS
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92762 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:17:23 +00:00
Ingo Schommer
722fc1defc
ENHANCEMENT Allowing ModelAdmin to be rendered with different *_right.ss templates based on the class name
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92761 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:17:21 +00:00
Ingo Schommer
c65800aa57
ENHANCEMENT Using ->request in LeftAndMain->currentPageID()
...
MINOR Documentation in LeftAndMain
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92760 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:17:19 +00:00
Ingo Schommer
23bac6e84f
API CHANGE LeftAndMain->EditForm() returns EmptyForm() by default, as not all subclasses might want to implement the previously used getEditForm() method (e.g. ModelAdmin, which has its own sub-controllers to handle requests). Added specialized EditForm() overrides to AssetAdmin and CMSMain
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92759 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:17:16 +00:00
Ingo Schommer
59790b102d
MINOR Formatting in ModelAdmin.js
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92758 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:17:13 +00:00
Ingo Schommer
e22fdb94ca
BUGFIX Defaulting to current page ID in CMSMain->EditForm()
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92757 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:17:11 +00:00
Ingo Schommer
8b88bb7142
BUGFIX Re-initializing tabs in LeftAndMain.EditForm.js in order to get the correct height for resizeChildren()
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92756 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:17:08 +00:00
Ingo Schommer
62ff95892f
MINOR Only refresh versions side panel on new tree selection if its visible - regression from javascript refactoring, this was already the case in the old CMS logic
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92755 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:17:06 +00:00