From 18d1936d8961e55eff6b7b4d20719aeb049ce9d5 Mon Sep 17 00:00:00 2001 From: Eric Rasmussen <erasmussen2@unl.edu> Date: Fri, 17 Sep 2010 22:21:18 +0000 Subject: [PATCH] Get the local site's all.css from /wdn, don't go cross site --- plugins/unl/editor_plugin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/unl/editor_plugin.js b/plugins/unl/editor_plugin.js index 6f73854..8282bb3 100644 --- a/plugins/unl/editor_plugin.js +++ b/plugins/unl/editor_plugin.js @@ -46,7 +46,7 @@ Unl.hasParentNodeWithClass = function(childNode, parentClass) { //'div[style]/[*]'; ed.onBeforeSetContent.add(function(ed, o) { - ed.dom.loadCSS("http://www.unl.edu/wdn/templates_3.0/css/all.css"); + ed.dom.loadCSS("/wdn/templates_3.0/css/all.css"); ed.getBody().className += ' fixed'; ed.getBody().id = 'maincontent'; }); -- GitLab