Changeset 1391
- Timestamp:
- 2008-01-23 10:05:13 (9 months ago)
- Location:
- FCKeditor/branches/features/floating_dialog
- Files:
-
- 2 modified
-
editor/fckdialog.html (modified) (1 diff)
-
_test/manual/fckdialog/test1.html (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
FCKeditor/branches/features/floating_dialog/editor/fckdialog.html
r1389 r1391 686 686 // Points the src to a non-existent location to avoid loading errors later, in case the dialog 687 687 // haven't been completed loaded at this point. 688 $( 'frmMain' ).src = FCKTools.GetVoidUrl() ; 688 if ( $( 'frmMain' ) ) 689 $( 'frmMain' ).src = FCKTools.GetVoidUrl() ; 689 690 690 691 if ( !dontFireChange && !FCK.EditMode ) -
FCKeditor/branches/features/floating_dialog/_test/manual/fckdialog/test1.html
r1382 r1391 79 79 for ( var i = 0 ; i < iframes.length ; i++ ) 80 80 { 81 if ( iframes[i].src.search( 'fckdialog.html' ) != -1 )81 if ( iframes[i].src.search( 'fckdialog.html' ) != -1 && iframes[i].contentWindow && iframes[i].contentWindow.CloseDialog ) 82 82 iframes[i].contentWindow.CloseDialog() ; 83 83 }