about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--test/requests/link_checker.py1
-rw-r--r--wqflask/wqflask/templates/docedit.html2
2 files changed, 2 insertions, 1 deletions
diff --git a/test/requests/link_checker.py b/test/requests/link_checker.py
index f28d9e7d..7af28ab1 100644
--- a/test/requests/link_checker.py
+++ b/test/requests/link_checker.py
@@ -116,6 +116,7 @@ def check_packaged_js_files(args_obj, parser):
         "/js/nvd3/nv.d3.min.css",
         "/js/qtip2/jquery.qtip.min.js",
         "/js/js_alt/md5.min.js",
+        "/js/ckeditor/ckeditor.js",
         "/js/cytoscape/cytoscape.min.js",
         "/js/cytoscape-panzoom/cytoscape-panzoom.js",
         "/js/cytoscape-panzoom/cytoscape.js-panzoom.css",
diff --git a/wqflask/wqflask/templates/docedit.html b/wqflask/wqflask/templates/docedit.html
index b87c5b41..50bb96c0 100644
--- a/wqflask/wqflask/templates/docedit.html
+++ b/wqflask/wqflask/templates/docedit.html
@@ -16,7 +16,7 @@
 			{{content|safe}}
         </textarea>
         <button class="submit_changes" style="margin-top: 20px;">Submit Changes</button>
-        <script src="/static/packages/ckeditor/ckeditor.js"></script>
+        <script language="javascript" type="text/javascript" src="{{ url_for('js', filename='ckeditor/ckeditor.js') }}"></script>
         <script type="text/javascript">
             CKEDITOR.replace('ckcontent',	{
                 height: '650px',