JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
vanilla ckeditor-3.0.1
[ckeditor.git] / _source / plugins / clipboard / dialogs / paste.js
index a9e2c82..8eeeea0 100644 (file)
@@ -5,7 +5,7 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
 \r
 CKEDITOR.dialog.add( 'paste', function( editor )\r
 {\r
-       var isCustomDomain = CKEDITOR.env.ie && document.domain != window.location.hostname;\r
+       var isCustomDomain = CKEDITOR.env.isCustomDomain();\r
 \r
        return {\r
                title : editor.lang.clipboard.title,\r