mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +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
|
* Send this page on to another user for review
|
||||||
*/
|
*/
|
||||||
function submit() {
|
function submit() {
|
||||||
|
Debug::show($this);
|
||||||
$page = DataObject::get_by_id("SiteTree", $_REQUEST['ID']);
|
$page = DataObject::get_by_id("SiteTree", $_REQUEST['ID']);
|
||||||
$recipient = DataObject::get_by_id("Member", $_REQUEST['RecipientID']);
|
$recipient = DataObject::get_by_id("Member", $_REQUEST['RecipientID']);
|
||||||
if(!$recipient) user_error("CMSMain::submit() Can't find recipient #$_REQUEST[RecipientID]", E_USER_ERROR);
|
if(!$recipient) user_error("CMSMain::submit() Can't find recipient #$_REQUEST[RecipientID]", E_USER_ERROR);
|
||||||
|
@ -69,6 +69,10 @@ body.ModelAdmin #right{
|
|||||||
overflow:auto;
|
overflow:auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
body.ModelAdmin #right #ModelAdminPanel {
|
||||||
|
padding-bottom: 30px;
|
||||||
|
}
|
||||||
|
|
||||||
body.ModelAdmin #right table.results {
|
body.ModelAdmin #right table.results {
|
||||||
margin:6px;
|
margin:6px;
|
||||||
padding:0;
|
padding:0;
|
||||||
@ -101,3 +105,16 @@ body.ModelAdmin #Form_ImportForm_holder dt {
|
|||||||
width: 10em;
|
width: 10em;
|
||||||
margin-right: 2em;
|
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;
|
this.className = type;
|
||||||
Element.setOpacity(this, 1);
|
Element.setOpacity(this, 1);
|
||||||
|
|
||||||
this.style.position = 'absolute';
|
//this.style.position = 'absolute';
|
||||||
this.style.display = '';
|
this.style.display = '';
|
||||||
this.style.visibility = '';
|
this.style.visibility = '';
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user