Closed bruce133 closed 11 years ago
Hi Bruce,
Thanks for this, we actually just came across this issue too! My appologies for only just getting around to reviewing this.
I think the way to submit it is by doing a 'pull request' so that I can just click 'merge' and it will go into the repo.
Cheers,
Aram
This is no longer an issue when using SS3.x
DataObjectAsPageAdmin.php removes the default actions from the EditForm, which becomes a problem when using the same instance of ModelAdmin to manage other DataObjects (as opposed to DataObjectAsPage objects).
I've added a simple check so that the actions are only removed if the parent class of the record is DataObjectAsPage.
Note: This is my first patch submission, so please forgive me if this isn't the proper way to do it.