Browse Source

Fix bug in session select dropdown. Fix bug where debug mode key was ignored in user config.

sisyphus
Dustin Falgout 8 years ago
parent
commit
d45ce57935
No known key found for this signature in database
GPG Key ID: AEA529BF122902E5
  1. 2
      themes/default/js/greeter.js
  2. 2
      web-greeter/greeter.py

2
themes/default/js/greeter.js vendored

@ -735,7 +735,7 @@ class Theme {
session_toggle_handler( event ) { session_toggle_handler( event ) {
let $session = $( event.target ).children( 'a' ), let $session = $( event.target ),
session_name = $session.text(), session_name = $session.text(),
session_key = $session.attr( 'data-session-id' ); session_key = $session.attr( 'data-session-id' );

2
web-greeter/greeter.py

@ -98,6 +98,8 @@ class WebGreeter(App):
self.config.branding.update(branding_config) self.config.branding.update(branding_config)
self.config.greeter.update(greeter_config) self.config.greeter.update(greeter_config)
self._config.debug_mode = greeter_config['debug_mode']
def load_theme(self): def load_theme(self):
self.logger.debug('Loading theme...') self.logger.debug('Loading theme...')
theme_url = '/{0}/{1}/index.html'.format(self.config.themes_dir, self.config.greeter.theme) theme_url = '/{0}/{1}/index.html'.format(self.config.themes_dir, self.config.greeter.theme)

Loading…
Cancel
Save