From 37d6871c150b4e2a71d36b1c01c435f38356335d Mon Sep 17 00:00:00 2001 From: Mateusz Uzdowski Date: Sun, 26 May 2013 12:50:55 +1200 Subject: [PATCH] Add explicit extension trigger to preview iframe updates. --- admin/javascript/LeftAndMain.Preview.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/admin/javascript/LeftAndMain.Preview.js b/admin/javascript/LeftAndMain.Preview.js index 601e80bf6..ed9d9d582 100644 --- a/admin/javascript/LeftAndMain.Preview.js +++ b/admin/javascript/LeftAndMain.Preview.js @@ -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 ]); } });