Permalink
Browse files

BUGFIX Can't set width or height on MemberTableField popup (fixes #56…

…25, thanks smurkas)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@105665 467b73ca-7a2a-4603-9d3b-597d59a354a9
  • Loading branch information...
1 parent 18f4029 commit df869f9da738a50047ad14b85d58d106f406a44d @chillu chillu committed with sminnee May 25, 2010
Showing with 2 additions and 0 deletions.
  1. +2 −0 templates/Includes/MemberTableField.ss
@@ -30,6 +30,8 @@
<tr style="display: none;">
<% if Markable %><td width="18">&nbsp;</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="add" /></a><a class="popuplink addlink" href="$AddLink" alt="add"><% _t('ADDNEW','Add new',50,'Followed by a member type') %> $Title</a>
</td>
<% if Can(show) %><td width="18">&nbsp;</td><% end_if %>

0 comments on commit df869f9

Please sign in to comment.