ENHANCEMENT: Change to TreeDropdownField, giving it filtering behaviour as described in ticket http://open.silverstripe.org/ticket/3007 . Its disabled by default for legacy compatibility, but enabled for HtmlEditorField so that link editor is filterable for local links, via an extra boolean parameter on TreeDowndownField.

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@93932 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Mark Stephens 2009-11-29 23:29:31 +00:00
parent 87bea98bec
commit 276a36e493
3 changed files with 19 additions and 4 deletions

View File

@ -58,7 +58,7 @@ h2 {
/**
* TreeDropdownField stying
* TreeDropdownField styling
*/
.SelectionGroup div.TreeDropdownField {
width: 241px;
@ -68,7 +68,7 @@ html>body div.TreeDropdownField {
position:relative;
}
.SelectionGroup div.TreeDropdownField span.items {
.SelectionGroup div.TreeDropdownField .items {
display: block;
height: 100%;
border: 1px #7f9db9 solid;
@ -80,6 +80,10 @@ html>body div.TreeDropdownField {
background-color: white;
}
.SelectionGroup div.TreeDropdownField input.items {
height: 19px;
}
.SelectionGroup div.TreeDropdownField div.tree_holder {
clear: left;
cursor: default;

View File

@ -311,7 +311,7 @@
padding-bottom: 150px;
}
#right form.actionparams div.TreeDropdownField span.items {
#right form.actionparams div.TreeDropdownField .items {
width: 195px;
}

View File

@ -534,8 +534,19 @@ iframe {
border:1px solid #A7A7A7;
border-right: none;
overflow: hidden;
height: 15px;
}
#contentPanel div.TreeDropdownField a {
#contentPanel div.TreeDropdownField input.items {
float: left;
width: 155px;
background: #fff;
font-size: 12px;
border:1px solid #A7A7A7;
border-right: none;
height: 19px;
overflow: hidden;
}
#contentPanel div.TreeDropdownField a {
overflow: visible;
}
#contentPanel .thumbnailstrip {