mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
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:
parent
6a21094048
commit
be0ca474eb
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user