Roll page editor dependencies into javascript.

This commit is contained in:
Dannon Baker
2017-10-31 14:53:11 -04:00
parent 8eee8dadf5
commit 2f7de58d29
4 changed files with 7 additions and 8 deletions
+5
View File
@@ -1,3 +1,8 @@
import "libs/jquery/jquery.form";
import "libs/jquery/jstorage";
import "libs/jquery/jquery.wymeditor";
import "libs/jquery/jquery.autocomplete";
var CONTROLS = {
// Item types.
ITEM_HISTORY: "item_history",
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -11,12 +11,6 @@
<%def name="javascripts()">
${parent.javascripts()}
${h.js(
"libs/jquery/jquery.form",
"libs/jquery/jstorage",
"libs/jquery/jquery.wymeditor",
"libs/jquery/jquery.autocomplete",
)}
<script type="text/javascript">
// Define variables needed by galaxy.pages script.
var page_id = "${trans.security.encode_id(page.id)}",