DataObjectManager
DataObjectManager copied to clipboard
DataObjectManager pop up does not open in a separate window.
Hi, I am using 2,4 version. The problem is that DOM pop up opens in the same page. Not in a separate page.
$f = parent::getCMSFields(); $manager = new ImageDataObjectManager( $this, // Controller 'Images', // Source name 'ImageResource', // Source class 'Attachment', // File name on DataObject array( 'Title' => 'Title', 'Caption' => 'Caption' ), 'getCMSFields_forPopup'
);
$f->addFieldToTab("Root.Content.Gallery",$manager);
return $f;