mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
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:
parent
3b3bea1352
commit
9381860e9a
@ -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);
|
||||
|
@ -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;
|
||||
}
|
@ -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 = '';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user