Ingo Schommer
ecbee33385
ENHANCEMENT Moved cms/javascript documentation from JSDoc to NaturalDocs format
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@104369 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-05-08 02:45:05 +00:00
Ingo Schommer
168589a59f
MINOR Updated jQuery.concrete references to point to the new "entwine" name
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102697 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-13 05:55:56 +00:00
Ingo Schommer
bb3012a7ab
MINOR Fixed some jQuery.concrete getters
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102504 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-12 21:52:39 +00:00
Mateusz Uzdowski
25698de5c2
BUGFIX: add check for left mouse button
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@95714 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-12-17 00:33:23 +00:00
Mateusz Uzdowski
459241010b
MINOR: added comment
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@95701 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-12-16 22:40:09 +00:00
Mateusz Uzdowski
bee365095d
BUGFIX: #4841 Changed live event binding to concrete event binding. Live was binding the event to document object, resulting in the handler being executed on any click within the page.
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@95699 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-12-16 22:25:05 +00:00
Ingo Schommer
b29d887cc2
MINOR l10n in CMSMain.php, CMSMain.js and CMSSiteTreeFilter.php
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92941 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-22 08:45:59 +00:00
Ingo Schommer
a5070b858a
API CHANGE Removed CMSSiteTreeFilter->showInList(), using custom logic in CMSMain->SearchTreeForm() instead
...
API CHANGE Returning arrays instead of Query resource from CMSSiteTreeFilter->pagesIncluded()
MINOR Removed unused LeftAndMain->getMarkingFilter() and CMSMainMarkingFilter, now handled by CMSSiteTreeFilter and CMSMain->SearchTreeForm()
ENHANCEMENT Moved 'page tree filter' dropdown logic into an additional option for CMSMain->SearchTreeForm() (originally implemented in r83674)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92938 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-22 08:23:12 +00:00
Ingo Schommer
683dfa9426
MINOR Styling of side reports and tree area in CMS
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92850 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:21:08 +00:00
Ingo Schommer
990ae9f145
BUGFIX Fixed CMSMain.js search clearing logic, wasnt clearing the first field properly. Fixed LeftAndMain->getsubtree() filtering in AssetAdmin and SecurityAdmin.
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92849 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:21:03 +00:00
Ingo Schommer
9c3ecea1e7
ENHANCEMENT Unifying tree logic in most LeftAndMain subclasses: CMSMain, SecurityAdmin, AssetAdmin. Using a common LeftAndMainMarkingFilter. Allowing for custom node counts in SecurityAdmin and AssetAdmin.
...
API CHANGE Renamed CMSMain->getfilteredsubtree() to doSearchTree()
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92848 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:21:00 +00:00
Ingo Schommer
f793ffd368
ENHANCEMENT SideReportsHandler class for easier handling and templating of "side reprts" in the CMS interface
...
API CHANGE Removed CMSMain->ReportFormParameters()/ReportForm()/sidereport(), replaced with new SideReportsHandler class
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92846 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:20:54 +00:00
Ingo Schommer
4d60aa5c83
MINOR Adjusted CMS JavaScript to new jquery-concrete API: Getters have 'get' prefix, namespaces are defined in blocks, event handlers work consistently. Mostly indentation and structure changes, no logic changes.
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92825 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:19:59 +00:00
Ingo Schommer
175ceaf890
MINOR Moved AddForm javascript logic to new LeftAndMain.AddForm.js file which is shared by CMSMain and AssetAdmin
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92810 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:19:25 +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
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
Ingo Schommer
cb1895866a
ENHANCEMENT Refactored versions panel in CMS: Removed "compare mode" checkbox in UI, and replaced with explicit checkboxes and a "compare versions" button. Added manual "refresh" button. Replaced custom markup with a form generated through CMSMain->VersionsForm(), and adjusted markup in CMSMain_versions.ss accordingly
...
API CHANGE Removed CMSMain->sendFormToBrowser(), replaced with custom code
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92731 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:16:09 +00:00
Ingo Schommer
c50e2fce6b
MINOR Moved form related javascript from CMSMain.js to new CMSMain.EditForm.js
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92729 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:16:03 +00:00
Ingo Schommer
2796a37a02
API CHANGE Removed SideReport javascript class, replaced with concrete implementation in CMSMain.js
...
ENHANCEMENT Using full form for 'site reports' panel in CMSMain->ReportForm(). Removed CMSMain->ReportSelector()
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92727 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:15:55 +00:00
Ingo Schommer
60451f7033
API CHANGE Replaced addpageclass javascript functionality with concrete implementation in CMSMain_left.js
...
MINOR Renaming load() to loadForm() in LeftAndMain.EditForm.js, to avoid overloading jQuery's native methods
MINOR Triggering jQuery events on top of prototype's Observable for better handling with concrete, in SecurityAdmin.js
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92719 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:15:32 +00:00
Ingo Schommer
05d1f6e038
MINOR Moved layout javascript logic from CMSMain.js to LeftAndMain.js, so other subclasses of LeftAndMain can use it as well
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92706 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:15:02 +00:00
Ingo Schommer
d478f175b7
MINOR Layout manager tweaks
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92699 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:14:43 +00:00
Ingo Schommer
42a5de8536
MINOR Removed unused _AJAX_LOADING global from LeftAndMain.js javascript
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92695 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:14:30 +00:00
Ingo Schommer
55ed72d2aa
BUGFIX Made CMSMain.js EditForm concrete rule more specifc, to avoid problems with super()
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92687 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:14:12 +00:00
Ingo Schommer
5aef49a0a7
API CHANGE Removed ChangeTracker javascript class, superseded by jquery.changetracker
...
API CHANGE Removed autoSave() javascript logic in CMS, superseded by custom code in LeftAndMain.EditForm.js
ENHANCEMENT Using jquery.changetracker in LeftAndMain.EditForm.js, and overhauled window.unload logic to automatically trigger ajax saving after a user confirmation
MINOR Changed unload confirmation text in CMS logic to adapt to new behaviour
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92685 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:14:08 +00:00
Ingo Schommer
6514dc35d4
MINOR Removed debug code
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92682 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:14:00 +00:00
Ingo Schommer
1bac2dc4aa
BUGFIX Fixed ParentType selector javascript in SiteTree->getCMSFields()
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92676 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:39:18 +00:00
Ingo Schommer
4809523bae
MINOR JavaScript code indentation and formatting
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92656 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:38:31 +00:00
Ingo Schommer
bb6f4a9200
BUGFIX Clearing field containers instead of just input fields in Tree Search javascript
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92655 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:38:29 +00:00
Ingo Schommer
e37b78878c
MINOR Changed left panel size in CMSMain to resemble old interface
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92654 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:38:27 +00:00
Ingo Schommer
021c8d4d6c
ENHANCEMENT Initialize the east layout panel in CMSMain.js as hidden, so users can't toggle it without going through tinyMCE buttons
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92653 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:38:25 +00:00
Ingo Schommer
6f2c9193b1
BUGFIX Fixed jQuery assignments in Form_TreeFilterForm javascript
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92652 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:38:23 +00:00
Ingo Schommer
dffaa08686
ENHANCEMENT Removed SitetreeAccess javascript functionality, replaced with tighter logic in CMSMain.js
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92646 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:38:10 +00:00
Ingo Schommer
d5d4d73141
MINOR Fixed javascript syntax in CMSMain.js and LeftAndMain.js
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92637 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:37:48 +00:00
Ingo Schommer
502855cf24
MINOR Method renaming in CMSMain.js
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92634 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:37:43 +00:00
Ingo Schommer
c5895ca834
MINOR Documentation for CMSMain.js and LeftAndMain.js
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92633 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:37:41 +00:00
Ingo Schommer
56cb4b30c9
MINOR Fixed height of bottom panel in CMS
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92625 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:37:19 +00:00
Ingo Schommer
94d03555a5
MINOR Moved tab overflow logic from TabSet.js into more specific CMSMain.js, its not necessary outside of a layout-managed CMS context
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92623 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:37:16 +00:00
Ingo Schommer
bc55ad37d5
MINOR Removed debug code
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92622 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:37:14 +00:00
Ingo Schommer
a3bfa49f60
ENHANCEMENT Saving layout state in CMS in cookie for left-hand panel
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92621 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:37:12 +00:00
Ingo Schommer
8db33cc65e
BUGFIX Fixed ui.tabs saving into cookies in LeftAndMain.js and CMSMain.js
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92620 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:37:10 +00:00
Ingo Schommer
0935da6aad
BUGFIX Fixed tree search reloading when all fields are cleared
...
MINOR Documentation and refactoring for tree search javascript
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92619 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:37:08 +00:00
Ingo Schommer
671961cf45
ENHANCEMENT Refactored tree search javascript to support concrete and jquery, and build less UI scaffold on the serverside
...
API CHANGE Removed CMSMain::site_tree_filter_options
API CHANGE Removed CMSMain::SiteTreeFilterOptions() and T_SiteTreeFilterOptions(), now handled inline in CMSMain::TreeSearchForm()
ENHANCEMENT Refactored tree search PHP in CMSMain: Generate form in PHP instead of template, require less UI state, pass filtered/sanitized paramers straight into CMSMainMarkingFilter instead of relying on
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92618 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:37:06 +00:00
Ingo Schommer
761760eeed
ENHANCEMENT Storing tabs in LeftAndMain in cookie
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92616 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:36:59 +00:00
Ingo Schommer
7f0e5299c0
MINOR Javascript syntax error
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92615 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:36:57 +00:00
Ingo Schommer
9f4d0da80a
ENHANCEMENT Integrating right panels ('insert image', etc.) in CMS with new layout manager, adjusting title bar to jQuery UI styling, making panel content scrollable
...
MINOR Updated cmsmain/leftandmain javascript to concrete API changes
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92609 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:36:26 +00:00
Ingo Schommer
d5ec175cfb
MINOR Updated cms javascript to new concrete API around namespaces and properties
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92608 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:36:22 +00:00
Ingo Schommer
afc285cb12
ENHANCEMENT Removed some javascript handlers for ajax submission in CMS: action_save_right(), action_publish_right() - they're now using the same unified saving method
...
ENHANCEMENT Moved javascript handlers in CMS to concrete: action_print_right(), action_email_right(), action_rollback_right()
ENHANCEMENT Moved javascript ParentID UI element in CMS to concrete
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92604 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:36:13 +00:00
Ingo Schommer
c5eadd81ab
ENHANCEMENT Using jQuery UI tabs for tree tools like 'search' or 'batch actions' instead of custom JavaScript
...
API CHANGE Removed 'treeactions' javascript global
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92603 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:36:09 +00:00
Ingo Schommer
df7713f894
ENHANCEMENT Initial 'concrete' implementation of CMS forms incl. ajax saving, validation placeholders and session-pinging
...
MINOR Removed 'innerLayout' from CMSMain.js javascript
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92599 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:36:00 +00:00