Merge pull request #39 from silverstripe-droptables/ssexpress

MINOR: Fix use of deprecated methods and dropdown styling
This commit is contained in:
Will Rossiter 2012-06-04 22:24:13 -07:00
commit 5d2629fb60
2 changed files with 10 additions and 2 deletions

View File

@ -792,7 +792,7 @@ JS
$referrer = (isset($data['Referrer'])) ? '?referrer=' . urlencode($data['Referrer']) : "";
return Director::redirect($this->Link() . 'finished' . $referrer);
return $this->redirect($this->Link() . 'finished' . $referrer);
}
/**
@ -907,4 +907,4 @@ class UserDefinedForm_SubmittedFormEmail extends Email {
public function __construct() {
parent::__construct();
}
}
}

View File

@ -127,6 +127,14 @@
float: left;
display: block;
}
#Fields_fields .EditableFormField .extraOptions select {
width: 221px;
}
#Fields_fields .EditableFormField .extraOptions .chzn-drop input {
font-size: 12px;
padding: 4px 20px 4px 5px;
float: none;
}
#Fields_fields .EditableFormField a.addableOption,
#Fields_fields .EditableFormField a.addCondition {
background: url(../../cms/images/add.gif) no-repeat top left;