mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
Removed save button from add form
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@62689 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
b9a0a266cc
commit
deee0458a2
@ -196,6 +196,7 @@ $(document).ready(function() {
|
|||||||
className = $('select option:selected', this).val();
|
className = $('select option:selected', this).val();
|
||||||
requestPath = $(this).attr('action').replace('ManagedModelsSelect', className + '/add');
|
requestPath = $(this).attr('action').replace('ManagedModelsSelect', className + '/add');
|
||||||
$('#ModelAdminPanel').fn('loadForm', requestPath);
|
$('#ModelAdminPanel').fn('loadForm', requestPath);
|
||||||
|
$('#form_actions_right').remove();
|
||||||
return false;
|
return false;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user