@@ -68,7 +68,7 @@ |
||
68 | 68 | $processTitle = ($this->getIsEditing()) ? "Update {$this->i18n_singular_name()}" : "Create {$this->i18n_singular_name()}"; |
69 | 69 | $actions = FieldList::create( |
70 | 70 | FormAction::create('doSaveObject') |
71 | - ->setTitle($processTitle) |
|
71 | + ->setTitle($processTitle) |
|
72 | 72 | ); |
73 | 73 | |
74 | 74 | if ($showCancel === true) { |
@@ -50,7 +50,7 @@ |
||
50 | 50 | // makes a unique id for each wishlist form |
51 | 51 | $reflection = new \ReflectionClass($this); |
52 | 52 | $shortName = str_replace(array('.', '/'), '', $this->getName()); |
53 | - $this->setHTMLID($reflection->getShortName() . '_' . $shortName . '_' . $productID); |
|
53 | + $this->setHTMLID($reflection->getShortName().'_'.$shortName.'_'.$productID); |
|
54 | 54 | $this->addExtraClass('remove-from-wishlist-form'); |
55 | 55 | } |
56 | 56 | } |
@@ -51,7 +51,7 @@ |
||
51 | 51 | // makes a unique id for each wishlist form |
52 | 52 | $reflection = new \ReflectionClass($this); |
53 | 53 | $shortName = str_replace(array('.', '/'), '', $this->getName()); |
54 | - $this->setHTMLID($reflection->getShortName() . '_' . $shortName . '_' . $productID); |
|
54 | + $this->setHTMLID($reflection->getShortName().'_'.$shortName.'_'.$productID); |
|
55 | 55 | $this->addExtraClass('add-to-wishlist-form'); |
56 | 56 | } |
57 | 57 | } |