BUGFIX Fixed far too small height and width of "Profile" popup in CMS, popupHeight and popupWidth should be defaultPopupHeight and defaultPopupWidth instead according to the ComplexTableField prototype

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@66309 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Sean Harvey 2008-11-20 07:25:59 +00:00 committed by Sam Minnee
parent 6a21094048
commit be0ca474eb

View File

@ -113,7 +113,7 @@ Behaviour.register({
'#EditMemberProfile': { '#EditMemberProfile': {
onclick: function(e) { onclick: function(e) {
var el = Event.element(e); var el = Event.element(e);
GB_show('Edit Profile', el.attributes.href.value, ComplexTableField.prototype.popupHeight, ComplexTableField.prototype.popupWidth); GB_show('Edit Profile', el.attributes.href.value, ComplexTableField.prototype.defaultPopupHeight, ComplexTableField.prototype.defaultPopupWidth);
Event.stop(e); Event.stop(e);
} }
} }