Hi all,

I've enabled subpanels in the accounts module by creating a custom view.edit.php file like this:

Code:
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');

require_once('include/MVC/View/views/view.edit.php');

class AccountsViewEdit extends ViewEdit {
        function __construct()  {
                $this->options['show_subpanels'] = true;
                parent::__construct();
        }

}
However when i am editing a record and I want to add a contact to the account, I get a javascript error saying:
window.document.forms.DetailView is undefined. This makes sense since I am in editview and the name of the form is EditView. I have looked into the source code of the javascript file /include/SubPanel/SubPanelTiles.js and it seems DetailView is hardcoded into it.
Is this a known bug? Is there a solution to it?

Thanks in advance!
cheers,
Joost