mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 15:05:42 +00:00
Merge pull request #168 from danieldia/patch-1
FIX: Ensure that the data-add-url single quotes are not processed by join_links
This commit is contained in:
commit
f66c3c340a
@ -19,7 +19,7 @@ class FieldEditor extends FormField {
|
||||
* @return String
|
||||
*/
|
||||
public function FieldHolder($properties = array()) {
|
||||
$this->setAttribute('data-add-url', '\''.Controller::join_links($this->Link('addfield').'\''));
|
||||
$this->setAttribute('data-add-url', '\''.Controller::join_links($this->Link('addfield')).'\'');
|
||||
return $this->renderWith("FieldEditor");
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user