layout fix: make the status message and ajax button stay in fixed position (ticket #2876)

- position: fixed for #statusMessage  and ajaxActions in ModelAdmin
- commented out this.style.position = "absolute"; in LeftAndMain.js

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@63382 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Saophalkun Ponlu 2008-09-30 03:04:35 +00:00
parent 3b3bea1352
commit 9381860e9a
3 changed files with 19 additions and 2 deletions

View File

@ -592,7 +592,7 @@ JS;
* Send this page on to another user for review
*/
function submit() {
Debug::show($this);
$page = DataObject::get_by_id("SiteTree", $_REQUEST['ID']);
$recipient = DataObject::get_by_id("Member", $_REQUEST['RecipientID']);
if(!$recipient) user_error("CMSMain::submit() Can't find recipient #$_REQUEST[RecipientID]", E_USER_ERROR);

View File

@ -69,6 +69,10 @@ body.ModelAdmin #right{
overflow:auto;
}
body.ModelAdmin #right #ModelAdminPanel {
padding-bottom: 30px;
}
body.ModelAdmin #right table.results {
margin:6px;
padding:0;
@ -100,4 +104,17 @@ body.ModelAdmin #Form_ImportForm_holder dt {
float: left;
width: 10em;
margin-right: 2em;
}
body.ModelAdmin #statusMessage {
position: fixed;
left: auto;
bottom: 35px;
}
/* Form */
body.ModelAdmin #right .ajaxActions {
position: fixed;
right: 30px;
bottom: 35px;
}

View File

@ -418,7 +418,7 @@ Behaviour.register({
this.className = type;
Element.setOpacity(this, 1);
this.style.position = 'absolute';
//this.style.position = 'absolute';
this.style.display = '';
this.style.visibility = '';