Browse Source

Fixed resurrection shrine.

pull/226/head
Simon Eisenmann 10 years ago
parent
commit
0304d9baff
  1. 2
      static/js/controllers/uicontroller.js
  2. 3
      static/js/services/appdata.js

2
static/js/controllers/uicontroller.js

@ -454,7 +454,7 @@ define(['jquery', 'underscore', 'bigscreen', 'moment', 'sjcl', 'modernizr', 'web @@ -454,7 +454,7 @@ define(['jquery', 'underscore', 'bigscreen', 'moment', 'sjcl', 'modernizr', 'web
var reconnect = function() {
if (appData.flags.connected && appData.flags.autoreconnect) {
if (appData.flags.resurrect === null) {
// Storage data at the resurrection shrine.
// Store data at the resurrection shrine.
appData.flags.resurrect = {
status: $scope.getStatus(),
id: $scope.id

3
static/js/services/appdata.js

@ -62,7 +62,8 @@ define(["jquery"], function($) { @@ -62,7 +62,8 @@ define(["jquery"], function($) {
service.e = $({});
service.data = null;
service.flags = {
authorizing: false
authorizing: false,
resurrect: null
};
service.language = $window.document.getElementsByTagName("html")[0].getAttribute("lang");

Loading…
Cancel
Save