Commit Graph

33 Commits

Author SHA1 Message Date
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
Ingo Schommer
ae56eba853 ENHANCEMENT Using jQuery layout manager plugin to size panels in main CMS interface. Removed custom javascript resizing and CSS rules.
API CHANGE Removed custom resizing javascript methods: window.ontabschanged, window.onresize, fixRightWidth(), fixHeight_left()
API CHANGE Removed DraggableSeparator, SideTabs, SideTabItem javascript classes
API CHANGE Removed Effect.ReSize and Highlighter javascript helper classes
API CHANGE Modified template structure in CMSMain_left.ss, CMSMain_right.ss and LeftAndMain.ss
API CHANGE Modified markup IDs in LeftAndMain/CMSMain templates, removed "left", "right", "contentPanel", "bottom"
ENHANCEMENT Using jquery-latest (currently 1.3) in CMSMain and LeftAndMain
ENHANCEMENT Added jQuery UI library and "smoothness" theme to default CMS interface

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92581 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:35:20 +00:00
Ingo Schommer
e68fca146a MINOR Removed references to empty CMSMain.js
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92576 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:35:03 +00:00
Hayden Smith
abb9a61d0d Moved CMS module to open source path
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@39000 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-07-19 10:40:05 +00:00