mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
IMPROVEMENT Fix tab display and button position when adding a record (ticket #3029)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@65332 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
d8acf97911
commit
f72f2b4dd0
@ -9,7 +9,7 @@ body.ModelAdmin #left {
|
|||||||
}
|
}
|
||||||
|
|
||||||
body.ModelAdmin #Form_AddForm fieldset {
|
body.ModelAdmin #Form_AddForm fieldset {
|
||||||
float: left;
|
/* float: left; */
|
||||||
}
|
}
|
||||||
|
|
||||||
body.ModelAdmin #Form_AddForm #ClassName {
|
body.ModelAdmin #Form_AddForm #ClassName {
|
||||||
|
@ -10,6 +10,14 @@
|
|||||||
*/
|
*/
|
||||||
(function($) {
|
(function($) {
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
|
/**
|
||||||
|
* Add class ajaxActions class to the parent of Add button of AddForm
|
||||||
|
* so it float to the right
|
||||||
|
*/
|
||||||
|
$('#Form_AddForm_action_doCreate').livequery(function(){
|
||||||
|
$(this).parent().addClass('ajaxActions');
|
||||||
|
});
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Attach tabs plugin to the set of search filter and edit forms
|
* Attach tabs plugin to the set of search filter and edit forms
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user