diff --git a/forms/ComplexTableField.php b/forms/ComplexTableField.php index 61d006599..d820602d7 100755 --- a/forms/ComplexTableField.php +++ b/forms/ComplexTableField.php @@ -170,6 +170,14 @@ class ComplexTableField extends TableListField { $this->popupHeight = $height; } + function PopupWidth() { + return $this->popupWidth; + } + + function PopupHeight() { + return $this->popupHeight; + } + /** * See class comments * diff --git a/templates/ComplexTableField.ss b/templates/ComplexTableField.ss index 13b326c17..e083daedd 100755 --- a/templates/ComplexTableField.ss +++ b/templates/ComplexTableField.ss @@ -44,6 +44,8 @@ <% if Markable %> <% end_if %> + + <% _t('ADDITEM', 'add') %> <% sprintf(_t('ADDITEM', 'Add %s', PR_MEDIUM, 'Add [name]'),$Title) %>