mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
fixed mediaform urls in modeladmin
see http://open.silverstripe.org/ticket/8013
This commit is contained in:
parent
68826357cc
commit
f0f5dcb966
@ -278,8 +278,8 @@ class HtmlEditorField_Toolbar extends RequestHandler {
|
||||
public function forTemplate() {
|
||||
return sprintf(
|
||||
'<div id="cms-editor-dialogs" data-url-linkform="%s" data-url-mediaform="%s"></div>',
|
||||
Controller::join_links($this->controller->Link($this->name), 'LinkForm', 'forTemplate'),
|
||||
Controller::join_links($this->controller->Link($this->name), 'MediaForm', 'forTemplate')
|
||||
Controller::join_links($this->controller->Link(), $this->name, 'LinkForm', 'forTemplate'),
|
||||
Controller::join_links($this->controller->Link(), $this->name, 'MediaForm', 'forTemplate')
|
||||
);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user