Commit Graph

50 Commits

Author SHA1 Message Date
Hamish Friedlander
c12db51c22 BUGFIX: Fix trac/7485 2012-06-18 10:23:04 +12:00
Sam Minnée
7ce7ac406e Merge pull request #528 from mango9/master
Ticket #5578
2012-06-14 16:43:20 -07:00
Hamish Friedlander
b86a787521 BUGFIX: Use new jQuery.Entwine event capturing, onadd and onremove features to plug some memory leaks 2012-06-15 01:19:15 +02:00
Paul Meyrick
882b4267cb BUGFIX: Ticket #5578 SiteTree->CanCreateTopLevel() doesn't change dragged tree nodes or ParentID changes 2012-06-14 17:17:27 +12:00
Ingo Schommer
ce3d48e310 MINOR Supressed dependencies of tree logic on SiteTree elements (not properly isolated to work well with Folder objects) 2012-06-13 00:51:53 +02:00
Ingo Schommer
896d198890 BUGFIX Correct DOM structure on updating tree nodes from edit forms, adding badge classes to force strike-through styling on deleted nodes (see #7410) 2012-06-12 19:16:34 +02:00
Ingo Schommer
2637969bcd API CHANGE Renamed JS event from 'reloadeditform' on 'aftersubmitform', 'beforesave' to 'beforesubmitform'. Listening to bubbled event on container to avoid binding to forms which are removed before the event is triggered. 2012-06-12 17:13:36 +02:00
Ingo Schommer
69d3497497 MINOR Fixed node deselection when changing areas (e.g. "pages" to "edit page") 2012-06-04 11:05:05 +02:00
Ingo Schommer
c18c29f464 BUGFIX Updating tree state (after adding/renaming nodes, changing parent). Deselecting nodes when switching to edit view (fixes #7389, #7336, #7309) 2012-06-03 18:48:47 +02:00
Ingo Schommer
460148c12a MINOR Debug messages for tracking down JS layout sequence issues (disabled by default) 2012-06-02 12:31:55 +02:00
Mateusz Uzdowski
8d469b66c8 BUGFIX: add missing onunmatches 2012-05-23 16:24:15 +12:00
Mateusz Uzdowski
97e00a35dd BUGFIX: add missing onunmatches causing exceptions in entwine 2012-05-18 14:27:09 +12:00
Mateusz Uzdowski
6e436b54f4 BUGFIX: change namespace for the tree so all matchers are executed
.cms-tree.multiple matcher would not execute, because .cms-tree from
another file is overriding it (and the element is marked as resolved by
entwine). We need to move it to a separate namespace.
2012-05-18 12:27:30 +12:00
Mateusz Uzdowski
37399f88db BUGFIX: add missing _super calls to all matchers and unmatchers
Otherwise some matchers might not be triggered as expected.
2012-05-18 12:27:30 +12:00
Sean Harvey
1e8a89db8f MINOR Upgrade jQuery dependency to 1.7.2 2012-05-10 16:21:11 +12:00
Ingo Schommer
4c2352f908 MINOR Don't trigger on click on construction of view-model toggles, as it bubbles up to the panel, where it causes a toggle action which overrides any previous user choices stored in cookies (fixes #7210) 2012-05-01 14:10:09 +02:00
Ingo Schommer
0ef5d0b84f MINOR Moved tree filtering in LeftAndMain from SiteTreeAsUL() into getSiteTreeFor() to allow filtering the initial tree (via GET parameters), rather than just through getsubtree() 2012-04-17 16:07:22 +02:00
Simon Welsh
3a6341a251 API-CHANGE sapphire folder can now be renamed. 2012-04-15 10:50:19 +12:00
Ingo Schommer
3390ea390f MINOR Updating tree nodes on each state change, rather than just listening to form reloads 2012-04-10 12:28:10 +02:00
Ingo Schommer
d46a4504f5 MINOR Fixed scope problems caused by separating out getTreeConfig() 2012-03-12 14:44:09 +01:00
Ingo Schommer
e5ade1ba12 MINOR Making tree config overrideable 2012-03-12 11:40:08 +01:00
Ingo Schommer
08c3e7edf3 MINOR More flexible form detection in LeftAndMain.Tree.js 2012-03-08 18:22:30 +01:00
Ingo Schommer
f39680206a BUGFIX Fixed $('.cms-tree').getNodeByID(), was always returning tree instance instead of node because 'get_node' isn't a public method, hence ignored 2012-03-06 21:38:35 +01:00
Ingo Schommer
ea4bbe594c ENHANCEMENT Allowing individual parent selection in tree, rather than auto-selecting children (precondition for applying batch actions independently) 2012-03-06 21:38:35 +01:00
Ingo Schommer
746e3ea05e MINOR Avoid applying jstree plugin multiple times when onmatch is called on CSS class changes, rather than DOM insertions 2012-03-06 21:38:34 +01:00
Ingo Schommer
0c6bc2f7a1 MINOR Moving Tree.js entwine rules into namespace (wasn't applying multiple/draggable toggles because of that) 2012-03-06 21:38:34 +01:00
Normann Lou
f7030c56a5 BUGFIX: Page tree node reflects any changes made to page (title, publication status) in its edit view, implemented on the level of cms-content dom element, rather than cms-edit-form level 2012-02-27 12:47:36 +13:00
Normann Lou
587d195647 BUGFIX: Page tree node reflects any changes made to page (title, publication status) in its edit view 2012-02-24 16:46:46 +13:00
Ingo Schommer
8b6ef6599e MINOR Updating usage of jQuery.data() to confirm with API changes in 1.6 (camelcased names) 2012-02-23 23:29:58 +01:00
Normann Lou
4bd526fbee MINOR Don't follow <a> tag's href if click on page-icon or drag-icon (SSF-109) 2012-02-13 09:52:59 +01:00
Ingo Schommer
a6cc7d8392 MINOR Enforce SiteTree::$allowed_children in tree drag'n'drop for VirtualPage originals 2012-01-14 13:07:13 +01:00
Ingo Schommer
0caf1991cf MINOR Better failsafes for tree hints (allows move if hint for class is if not defined) 2012-01-09 13:20:02 +01:00
Ingo Schommer
0d26776e09 MINOR Deselecting tree items after swtiching back from multi-select (fixes #6810, thanks wolfv) 2011-12-21 10:19:42 +01:00
Ingo Schommer
bc2bb53274 MINOR Fixed drag'n'drop in SecurityAdmin (thanks frankmullenger) 2011-12-18 16:01:36 +01:00
Ingo Schommer
f57a3018a3 MINOR Improved perceived UI feedback by hiding various elements until they're styled properly (TinyMCE, tree) 2011-12-15 00:48: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
c862b2423b MINOR Fixed merge errors from 'history-panel' branch 2011-09-19 21:01:17 +02:00
Ingo Schommer
ce8e72cf0e MINOR Removing executable flag from all files (thanks miiihi) 2011-09-18 22:04:02 +02:00
Frank Mullenger
0b8f8a3c8a ENHANCEMENT Checking allowed parents/children in tree dragging. Using 'data' attributes to encode metadata on the tree element (fixes #6578) 2011-05-08 16:26:55 +12:00
Ingo Schommer
035b68fc32 MINOR Misc style improvements around batch actions and content tools display 2011-04-24 11:46:56 +12:00
Ingo Schommer
2c6e0c277b MINOR Adapted CMS batch actions form to work outside of tabset context 2011-04-24 11:46:55 +12:00
Ingo Schommer
51c02289da MINOR Moved edit-form specific jstree logic to LeftAndMain.EditForm.js 2011-04-24 11:46:54 +12:00
Ingo Schommer
f4cb6ae40f MINOR Renamed #sitetree_ul to .cms-tree in templates, removed #sitetree from contained <ul> (unnecessary duplication) 2011-04-24 11:46:51 +12:00
Ingo Schommer
0f7175f1f7 BUGFIX Disabling add_sheet() on jstree, as its horribly slow 2011-04-24 11:46:48 +12:00
Ingo Schommer
f2f6ecc880 MINOR Hardcoding jstree CSS url to avoid loading non-existant CSS files via ajax (through jstree library) 2011-04-24 11:46:47 +12:00
Ingo Schommer
35bd9f2537 MINOR Changed #sitetree_ul to #sitetree in templates and javascript 2011-04-24 11:46:45 +12:00
Ingo Schommer
dad6169f73 MINOR Using '.cms-edit-form' instead of '#Form_EditForm' selector 2011-04-24 11:44:17 +12:00
Ingo Schommer
601665519b ENHANCEMENT Added 'nochildren' support to new jstree implementation 2011-04-07 22:03:57 +12:00
Frank Mullenger
bde2696ff5 BUGFIX Checks if movedNode is in allowedChildren of newParent node before moving in tree (fixes #6578) 2011-04-07 22:00:42 +12:00
Ingo Schommer
a1fb071b2b MINOR Moved LeftAndMain, SecurityAdmin, ModelAdmin and related functionality from 'cms' module to sapphire/admin 2011-03-29 18:07:59 +13:00