mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
FIX attempt to access https iframe from http interface
This commit is contained in:
parent
a3ee9ece90
commit
0b81bbef22
@ -31,7 +31,9 @@ $.entwine('ss', function($) {
|
||||
// because the panel is still open when the ajax edit form reloads.
|
||||
var frame = $('.cms-container').find('iframe');
|
||||
frame.each(function(index, iframe){
|
||||
$(iframe).contents().off('click.ss-ui-action-tabset');
|
||||
try {
|
||||
$(iframe).contents().off('click.ss-ui-action-tabset');
|
||||
} catch (e) {}
|
||||
});
|
||||
$(document).off('click.ss-ui-action-tabset');
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user