mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
BUGFIX Only resizing form in LeftAndMain after showing tabs, to ensure we get the right dimensions. Concrete was applying the tabs styling too late and in an async fashion, so we cant use it here.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92752 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
94eada294e
commit
7580483eae
@ -71,9 +71,10 @@ var ss_MainLayout;
|
||||
|
||||
// trigger resize whenever new tabs are shown
|
||||
// @todo This is called multiple times when tabs are loaded
|
||||
this.find('.ss-tabset').bind('tabsshow', function() {self._resizeChildren();});
|
||||
this.find('.ss-tabset').live('tabsshow', function() {self._resizeChildren();});
|
||||
|
||||
$('#Form_EditForm').bind('loadnewpage', function() {self._resizeChildren();});
|
||||
// @todo Doesn't resize properly if the response doesn't contain a tabset (see above)
|
||||
//$('#Form_EditForm').bind('loadnewpage', function() {self._resizeChildren();});
|
||||
|
||||
this._super();
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user