silverstripe-framework/admin/javascript
Ingo Schommer 6c96c490c6 Load tree parent nodes if non-existant
This edge case can occur when a large tree is cached in HTML already,
without any nodes expanded via ajax. If a new node is added with
a parent that's not existant, it was simply placed on the root node.
This is a display bug, a full CMS refresh fixes it.

Fixes a related bug where tree causes (view) duplicates,
where the same node is rendered twice. This was due to the whole
subtree being refreshed (including the new node) through jstree's
built-in "open"/"select" events, while at the same time
creating a new node through updateNodesFromServer() callbacks.

Also added a global tree loading indication to make it clear
that the tree is still processing.

See https://github.com/silverstripe/silverstripe-cms/issues/872
2013-10-11 11:51:11 +02:00
..
jquery-changetracker BUG Fixed changetracking for radio and checkbox field types 2012-12-17 23:02:04 +01:00
jquery-fitheighttoparent MINOR Removing executable flag from all files (thanks miiihi) 2011-09-18 22:04:02 +02:00
lang Fixed whitespace usage 2013-02-18 15:43:52 +01:00
leaktools.js ENHANCEMENT: In dev mode, include some basic leak detection functions in the admin panel 2012-06-15 01:19:19 +02:00
LeftAndMain.ActionTabSet.js Loading indicator for "more options" buttons 2012-12-14 00:32:06 +01:00
LeftAndMain.BatchActions.js Batch actions UI enhancement (#7878) 2012-11-02 22:57:14 +01:00
LeftAndMain.Content.js API Add action tabsets as a interface idiom. 2012-12-13 17:43:24 +01:00
LeftAndMain.EditForm.js FIX: Fix not switching to the correct tab on validation error. 2013-10-09 23:28:09 +11:00
LeftAndMain.FieldHelp.js Merge remote-tracking branch 'origin/3.0' into 3.1 2012-12-21 15:04:17 +01:00
LeftAndMain.js Return jQuery deferred object from LeftAndMain's loadFragment. 2013-08-23 09:39:38 +12:00
LeftAndMain.Layout.js FIX Dont update preview iframe if hidden 2013-08-21 09:29:28 +12:00
LeftAndMain.Menu.js API: Add attributes argument for CMSMenuItem. 2013-10-02 19:06:54 +13:00
LeftAndMain.Panel.js FIX Multiple redraw calls on navigation 2013-08-21 09:29:28 +12:00
LeftAndMain.Ping.js BUG Fixing session keep alive for non-ADMIN users 2012-11-05 15:41:10 +13:00
LeftAndMain.Preview.js FIX webfonts in preview iframe breaking admin fonts 2013-08-27 10:49:24 +12:00
LeftAndMain.Tree.js Load tree parent nodes if non-existant 2013-10-11 11:51:11 +02:00
LeftAndMain.TreeDropdownField.js FIX 7763 TreeDropdownField needs to refresh after CMS edit form save 2012-08-29 10:52:56 +12:00
lib.js Add codesniffer that ensures indentation is with tabs. 2012-12-12 17:33:31 +13:00
MemberDatetimeOptionsetField.js Using new description style in MemberDateTimeOptionSetField 2012-12-14 01:58:04 +01:00
MemberImportForm.js BUGFIX: add missing onunmatches 2012-05-23 16:24:15 +12:00
ModelAdmin.js FIX Properly show link for showing and hiding class spec in model admin 2013-01-15 18:52:05 +13:00
SecurityAdmin.js Dont need to wrap entwine blocks in onload blocks, theres no benefit 2012-07-27 11:17:56 +12:00
ssui.core.js "Insert Media" dialog: Prevent loading indicator in IE8+ 2013-06-24 17:14:32 +02:00