mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
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
This commit is contained in:
parent
a78b5a2efb
commit
c004cc9b2f
@ -170,6 +170,14 @@ class ComplexTableField extends TableListField {
|
||||
$this->popupHeight = $height;
|
||||
}
|
||||
|
||||
function PopupWidth() {
|
||||
return $this->popupWidth;
|
||||
}
|
||||
|
||||
function PopupHeight() {
|
||||
return $this->popupHeight;
|
||||
}
|
||||
|
||||
/**
|
||||
* See class comments
|
||||
*
|
||||
|
@ -44,6 +44,8 @@
|
||||
<tr>
|
||||
<% if Markable %><td width="18"> </td><% end_if %>
|
||||
<td colspan="$ItemCount">
|
||||
<input type="hidden" id="{$id}_PopupHeight" value="$PopupHeight" disabled="disabled">
|
||||
<input type="hidden" id="{$id}_PopupWidth" value="$PopupWidth" disabled="disabled">
|
||||
<a class="popuplink addlink" href="$AddLink" alt="add"><img src="cms/images/add.gif" alt="<% _t('ADDITEM', 'add') %>" />
|
||||
<% sprintf(_t('ADDITEM', 'Add %s', PR_MEDIUM, 'Add [name]'),$Title) %>
|
||||
</a>
|
||||
|
Loading…
Reference in New Issue
Block a user