-rw-r--r-- | content/fireflix.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/content/fireflix.js b/content/fireflix.js index 82c7b0c..daf4929 100644 --- a/content/fireflix.js +++ b/content/fireflix.js | |||
@@ -35,12 +35,14 @@ var fireflix = { | |||
35 | document.getElementById('setphotos').view = this.photoset; | 35 | document.getElementById('setphotos').view = this.photoset; |
36 | document.getElementById('uploadlist').view = this.uploads; | 36 | document.getElementById('uploadlist').view = this.uploads; |
37 | this.no_auth_info_label = this.auth_info.value; | 37 | this.no_auth_info_label = this.auth_info.value; |
38 | this.set_auth_state(this.flickr.token,false); | 38 | this.set_auth_state(this.flickr.token,false); |
39 | if(this.flickr.token) { | 39 | if(this.flickr.token) { |
40 | this.refresh_stuff(); | 40 | this.refresh_stuff(); |
41 | }else{ | ||
42 | this.on_cmd_auth(); | ||
41 | } | 43 | } |
42 | }, | 44 | }, |
43 | set_auth_state: function(au,inp) { /* authorized, in progress */ | 45 | set_auth_state: function(au,inp) { /* authorized, in progress */ |
44 | this.cmd_auth_unauth.disabled = !au; | 46 | this.cmd_auth_unauth.disabled = !au; |
45 | this.b_auth.hidden = au || inp; | 47 | this.b_auth.hidden = au || inp; |
46 | this.b_auth_done.hidden = !inp; | 48 | this.b_auth_done.hidden = !inp; |