Unplanned
Last Updated: 16 May 2017 11:17 by ADMIN
ADMIN
Marin Bratanov
Created on: 16 May 2017 11:15
Category: Editor
Type: Bug Report
1
RadEditor in RadWindow ContentTemplate throws error under Safari (TypeError: 'undefined' is not an object (evaluating 'k.defaultView'))
Workaround is to add the following function override at the end of the page (a sample is attached below)
				Telerik.Web.UI.Editor.Utils.isWindowDestroyed = function (window) {
					var doc;
					try{
						doc = window.document;
					} catch (e) {
						return true;
					}
					if(Telerik.Web.Browser.safari && !doc){
						return true;
					}
					return !doc.defaultView && !doc.parentWindow;
				}
Attached Files:
0 comments