Skip to content

Commit

Permalink
Merge pull request #1059 from guerler/fix_message_000
Browse files Browse the repository at this point in the history
[15.10] Fix parsing of message configuration
  • Loading branch information
dannon committed Nov 11, 2015
2 parents 4f72178 + 6580701 commit 6953bdf
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
3 changes: 2 additions & 1 deletion client/galaxy/scripts/galaxy-app-base.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ GalaxyApp.prototype.defaultOptions = {
/** monkey patch attributes from existing window.Galaxy object? */
patchExisting : true,
/** root url of this app */
// move to self.root?
root : '/'
};

Expand All @@ -53,6 +52,8 @@ GalaxyApp.prototype._init = function init( options ){
self._initUser( options.user || bootstrapped.user || {} );
self.debug( 'GalaxyApp.user: ', self.user );

self.root = options.root;
self.debug( 'GalaxyApp.root: ', self.root );
//TODO: temp
self.trigger( 'ready', self );
//if( typeof options.onload === 'function' ){
Expand Down
4 changes: 4 additions & 0 deletions lib/galaxy/managers/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@ def _defaults_to( default ):
'ftp_upload_dir' : _defaults_to( None ),
'ftp_upload_site' : _defaults_to( None ),
'version_major' : _defaults_to( None ),
'inactivity_box_content' : _defaults_to( None ),
'message_box_content' : _defaults_to( None ),
'message_box_visible' : _defaults_to( False ),
'message_box_class' : _defaults_to( 'info' ),
}


Expand Down
2 changes: 1 addition & 1 deletion static/maps/galaxy-app-base.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion static/scripts/galaxy-app-base.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 6953bdf

Please sign in to comment.