mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Merge pull request #2016 from mateusz/preview-trigger
Add explicit extension trigger to preview iframe updates.
This commit is contained in:
commit
2b9a44ef67
@ -453,6 +453,9 @@
|
||||
if(navi) navi.style.display = 'none';
|
||||
var naviMsg = doc.getElementById('SilverStripeNavigatorMessage');
|
||||
if(naviMsg) naviMsg.style.display = 'none';
|
||||
|
||||
// Trigger extensions.
|
||||
this.trigger('afterIframeAdjustedForPreview', [ doc ]);
|
||||
}
|
||||
});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user