@@ -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) { |
@@ -51,6 +51,6 @@ |
||
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 | } |
56 | 56 | } |