From be0ca474eb1fb4c5745fc925f3a23fce62fc84f4 Mon Sep 17 00:00:00 2001 From: Sean Harvey Date: Thu, 20 Nov 2008 07:25:59 +0000 Subject: [PATCH] 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 --- javascript/LeftAndMain.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/javascript/LeftAndMain.js b/javascript/LeftAndMain.js index 4f25f852..a0286fe1 100644 --- a/javascript/LeftAndMain.js +++ b/javascript/LeftAndMain.js @@ -113,7 +113,7 @@ Behaviour.register({ '#EditMemberProfile': { onclick: function(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); } }