Merge pull request #167 from silverstripe-rebelalliance/trac/7450

'updatetreenodes' URL in tree template (#7450)
This commit is contained in:
Hamish Friedlander 2012-07-23 03:21:51 -07:00
commit 9d6178b323
4 changed files with 4 additions and 3 deletions

View File

@ -9,6 +9,7 @@ sass_dir = "scss"
images_dir = "images"
javascripts_dir = "javascript"
output_style = :compact
line_comments = false
# To enable relative paths to assets via compass helper functions. Uncomment:
# relative_assets = true

View File

@ -18,7 +18,7 @@
.cms-content-tools #cms-content-treeview .cms-tree-expand-trigger { display: inline-block; margin: 0 0 2px 0; position: absolute; top: 8px; right: 4px; }
.cms-content-tools #cms-content-treeview .cms-tree-expand-trigger span.ui-button-text { padding-right: 8px; }
.cms-content-tools #cms-content-treeview .cms-tree .badge, .cms-content-tools #cms-content-treeview .cms-tree a > .jstree-icon { display: none; }
.cms-content-tools #cms-content-treeview .cms-tree a:hover > .text > .badge { display: inline-block; }
.cms-content-tools #cms-content-treeview .cms-tree a:hover > .text > .badge, .cms-content-tools #cms-content-treeview .cms-tree .jstree-clicked > .text > .badge { display: inline-block; }
/** ------------------------------------------------------------------ URLSegment field ----------------------------------------------------------------- */
.field.urlsegment.disabled { color: #444; padding-left: 0px; margin-left: 0px; background: none; border-color: transparent; }

View File

@ -84,7 +84,7 @@
}
// Show badge on hovered node
a:hover > .text > .badge {
a:hover > .text > .badge, .jstree-clicked > .text > .badge {
display: inline-block;
}
}

View File

@ -22,7 +22,7 @@ $ExtraTreeTools
</div>
<% end_if %>
<div class="cms-tree" data-url-tree="$Link(getsubtree)" data-url-savetreenode="$Link(savetreenode)" data-url-addpage="{$LinkPageAdd}AddForm/?action_doAdd=1&amp;ParentID=%s&amp;PageType=%s&amp;SecurityID=$SecurityID" data-url-editpage="$LinkPageEdit('%s')" data-hints="$SiteTreeHints">
<div class="cms-tree" data-url-tree="$Link(getsubtree)" data-url-savetreenode="$Link(savetreenode)" data-url-updatetreenodes="$Link(updatetreenodes)" data-url-addpage="{$LinkPageAdd}AddForm/?action_doAdd=1&amp;ParentID=%s&amp;PageType=%s&amp;SecurityID=$SecurityID" data-url-editpage="$LinkPageEdit('%s')" data-hints="$SiteTreeHints">
$SiteTreeAsUL
</div>
</div>