From c004cc9b2fd7573321bf56c3609d5766415921de Mon Sep 17 00:00:00 2001 From: Hayden Smith Date: Tue, 21 Oct 2008 21:42:27 +0000 Subject: [PATCH] BUGFIX: Fixed incorrectly reverted methods related to sizing of the popup. git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@64604 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- forms/ComplexTableField.php | 8 ++++++++ templates/ComplexTableField.ss | 2 ++ 2 files changed, 10 insertions(+) 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) %>