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:
Sam Minnee 2008-09-18 21:25:49 +00:00
parent b9a0a266cc
commit deee0458a2

View File

@ -196,6 +196,7 @@ $(document).ready(function() {
className = $('select option:selected', this).val();
requestPath = $(this).attr('action').replace('ManagedModelsSelect', className + '/add');
$('#ModelAdminPanel').fn('loadForm', requestPath);
$('#form_actions_right').remove();
return false;
});