author | Michael Krelin <hacker@klever.net> | 2006-10-03 14:23:31 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2006-10-03 14:23:31 (UTC) |
commit | 31fb78eac7c5799be1fb4547f3abab17ed88727f (patch) (side-by-side diff) | |
tree | 5fcce66b161010926df346470e16e3230aa76f94 | |
parent | 5ebff6dee62ada9c0559f65381ccd92892911151 (diff) | |
download | fireflix-31fb78eac7c5799be1fb4547f3abab17ed88727f.zip fireflix-31fb78eac7c5799be1fb4547f3abab17ed88727f.tar.gz fireflix-31fb78eac7c5799be1fb4547f3abab17ed88727f.tar.bz2 |
moved setting of .view into corresponding init()s
git-svn-id: http://svn.klever.net/kin/fireflix/trunk@182 fe716a7a-6dde-0310-88d9-d003556173a8
-rw-r--r-- | content/fireflix.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/content/fireflix.js b/content/fireflix.js index 966630c..63a4118 100644 --- a/content/fireflix.js +++ b/content/fireflix.js @@ -28,7 +28,4 @@ var fireflix = { this.flickr.prefs_root = 'net.klever.kin.fireflix'; this.flickr.load_token(); - document.getElementById('setslist').view = this.photosets; - document.getElementById('setphotos').view = this.photoset; - document.getElementById('uploadlist').view = this.uploads; this.no_auth_info_label = this.auth_info.value; this.set_auth_state(this.flickr.token,false); @@ -98,4 +95,5 @@ var fireflix = { this.fireflix = f; pull_elements(this,document,[ 'set_photo' ]); + document.getElementById('setphotos').view = this; }, rowCount: 0, @@ -167,4 +165,5 @@ var fireflix = { init: function(f) { this.fireflix = f; + document.getElementById('setslist').view = this; }, rowCount: 0, @@ -317,4 +316,5 @@ var fireflix = { 'cmd_uploads_upload' ]); + document.getElementById('uploadlist').view = this; }, files: new Array(), |