Skip to content

Commit

Permalink
Reinsert message classes
Browse files Browse the repository at this point in the history
  • Loading branch information
guerler committed Sep 3, 2015
1 parent b8304e1 commit 94e8b31
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
4 changes: 3 additions & 1 deletion client/galaxy/scripts/mvc/app/app-view.js
Expand Up @@ -98,7 +98,9 @@ define(['utils/utils', 'mvc/ui/ui-portlet', 'mvc/ui/ui-misc',
_template: function() {
return '<div id="everything" style="position: absolute; top: 0; left: 0; width: 100%; height: 100%;">' +
'<div id="background"/>' +
'<div id="messagebox"/>' +
'<div id="messagebox" class="panel-' + Galaxy.config.message_box_class + '-message">' +
Galaxy.config.message_box_content +
'</div>' +
'<div id="inactivebox" class="panel-warning-message"/>' +
'<div id="center" class="inbound"/>' +
'</div>';
Expand Down
2 changes: 1 addition & 1 deletion static/maps/mvc/app/app-view.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/mvc/app/app-view.js

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

2 changes: 2 additions & 0 deletions templates/webapps/galaxy/root/index.mako
Expand Up @@ -46,6 +46,8 @@
<script>
require(['mvc/app/app-view'], function(App){
$(function(){
Galaxy.config.message_box_class = 'info';
Galaxy.config.message_box_content = 'sadsadasd';
var app = new App(${ h.dumps(app_config) });
});
});
Expand Down

0 comments on commit 94e8b31

Please sign in to comment.