Ingo Schommer
b2e4fdd6da
MINR Fixed double generation of tree via 'data' parameter
2011-03-22 18:43:39 +13:00
Ingo Schommer
23cb19958f
BUGFIX Reinstated create page functionality in LeftAndMain.Tree.js
2011-03-22 18:43:39 +13:00
Ingo Schommer
20427cd45b
MINOR Using 'apple' theme in tree (until we decide on a proper redesign)
2011-03-22 18:43:39 +13:00
Ingo Schommer
cfb83e4e47
MINOR Wrapping LeftAndMain.Tree.js in entwine block
2011-03-22 18:43:38 +13:00
Ingo Schommer
885597a754
MINOR Removed legacy code from LeftAndMain.Tree.js, replaced with a list of @todo items
2011-03-22 18:43:38 +13:00
Ingo Schommer
d22e80b1bd
MINOR Replaced hardcoded URLs in LeftAndMain.Tree.js with data-url-* attributes
2011-03-22 18:43:38 +13:00
Ingo Schommer
a9cd7aa08c
ENHANCEMENT Allow disabling of tree drag'n'drop via input box
2011-03-22 18:43:38 +13:00
Ingo Schommer
eb030fa0f9
BUGFIX Don't allow dragging tree nodes outside of the root node, don't allow moving the root node, don't access drag/drops from other trees.
2011-03-22 18:43:38 +13:00
Ingo Schommer
cf467d5272
MINOR Disabled animation on tree (for performance reasons)
2011-03-22 18:43:38 +13:00
Ingo Schommer
564038b463
ENHANCEMENT Added drag'n'drop support for tree
2011-03-22 18:43:37 +13:00
Ingo Schommer
2d85a4596b
FEATURE Replacing custom tree.js with jstree thirdparty library
2011-03-22 18:43:34 +13:00
Ingo Schommer
576be307bc
BUGFIX: some sections dont have a tree at all, but they still use LeftAndMain? as their base class (eg report admin). Added a guard. (from r100724)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@106109 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-06-03 00:15:04 +00:00
Ingo Schommer
e430852bef
MINOR Better error checking in SiteTreeNode javasceript
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@105679 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-05-25 23:39:05 +00:00
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
c0707cb562
ENHANCEMENT adapt the page dropdown based off the allowedChildren values (from r97745)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102746 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-14 01:32: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
8fb9fac99e
MINOR Set url variable in TreeAPI.reload as local variable in LeftAndMain_left.js (from r95971)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102466 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-12 08:45:32 +00:00
Ingo Schommer
ae844c5386
BUGFIX Changed sitetree default selection in LeftAndMain.Tree.js to fire on window.load instead of document.ready() through entwine. We need to ensure behaviour.js bindings are available before
...
BUGFIX Automatically selecting root node in CMS trees (necessary because now we actually have forms on the root node, and its a valid click target)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@99605 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-02-22 19:49:51 +00:00
Ingo Schommer
49dd8ddfa5
ENHANCEMENT Allowing custom 'root forms' when id values '0' or 'root' are passed from the tree selection.
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@98710 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-02-10 23:06:34 +00:00
Ingo Schommer
52c5e35768
MINOR Defensive scripting in LeftAndMain.Tree.js
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@98709 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-02-10 23:06:33 +00:00
Ingo Schommer
6aae0aaf53
MINOR Moved sitetree state setting javascript to LeftAndMain.Tree.js, used in AssetAdmin as well
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92811 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:19:27 +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
c7cca847c8
ENHANCEMENT Updated LeftAndMain->ajaxupdateparent() and ajaxupdatesort() to return JSON data rather than FormResponse eval()ed javascript, and let the clientside handle any updates. Also updated to use HTTPRequest instead of superglobals.
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92740 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:16:30 +00:00
Ingo Schommer
1760759992
MINOR Moved LeftAndMain_left.js to LeftAndMain.Tree.js
...
MINOR Moved CMSMain_left.js to CMSMain.Tree.js
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92726 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 03:15:51 +00:00