Browse Source

Destroy on app mask hide.

pull/62/head
Ruud 14 years ago
parent
commit
aa5e776514
  1. 1
      couchpotato/static/scripts/couchpotato.js

1
couchpotato/static/scripts/couchpotato.js

@ -147,6 +147,7 @@ var CouchPotato = new Class({
if(!self.mask){
var body = $(document.body);
self.mask = new Spinner(document.body, {
'destroyOnHide': true,
'message': new Element('div').adopt(
new Element('h1', {'text': 'Unavailable.'}),
new Element('div', {'text': message || 'Something must have crashed.. check the logs ;)'})

Loading…
Cancel
Save