mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Make sure global Galaxy object exists
This commit is contained in:
+5
-3
@@ -58,13 +58,15 @@
|
||||
)}
|
||||
|
||||
<script type="text/javascript">
|
||||
## global galaxy object
|
||||
window.Galaxy = window.Galaxy || {};
|
||||
|
||||
## global configuration object
|
||||
var galaxy_config =
|
||||
{
|
||||
window.galaxy_config = {
|
||||
root: '${h.url_for( "/" )}'
|
||||
};
|
||||
|
||||
// console protection
|
||||
## console protection
|
||||
window.console = window.console || {
|
||||
log : function(){},
|
||||
debug : function(){},
|
||||
|
||||
Reference in New Issue
Block a user