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/branches/2.4@96668 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Mark Stephens 2010-01-12 02:05:59 +00:00 committed by Sam Minnee
parent 3c2dcf4dd2
commit bf2ed79d8f
3 changed files with 17 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

@ -291,10 +291,9 @@
padding-bottom: 150px;
}
#right form.actionparams div.TreeDropdownField span.items {
#right form.actionparams div.TreeDropdownField .items {
width: 195px;
}
#right form.actionparams div.TreeDropdownField div.tree_holder {
width: 214px;
}

View File

@ -544,6 +544,16 @@ iframe {
border:1px solid #A7A7A7;
border-right: none;
overflow: hidden;
}
#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;