From 77bede81381ed1adbda91a119128712a3688b4bd Mon Sep 17 00:00:00 2001 From: Michael Krelin Date: Thu, 16 Nov 2006 22:33:43 +0000 Subject: hiding photo properties completely in photoset browser when no photo selected git-svn-id: http://svn.klever.net/kin/fireflix/trunk@230 fe716a7a-6dde-0310-88d9-d003556173a8 --- (limited to 'content/fireflix.js') diff --git a/content/fireflix.js b/content/fireflix.js index 48053c5..328e9e2 100644 --- a/content/fireflix.js +++ b/content/fireflix.js @@ -93,7 +93,7 @@ var fireflix = { fireflix: null, init: function(f) { this.fireflix = f; - pull_elements(this,document,[ 'set_photo' ]); + pull_elements(this,document,[ 'set_photo', 'set_photo_props' ]); document.getElementById('setphotos').view = this; }, rowCount: 0, @@ -158,9 +158,9 @@ var fireflix = { var p = this.photos[this.selection.currentIndex]; this.set_photo.src = this.fireflix.flickr.get_photo_url(p.server,p.id,p.secret,'t'); - this.set_photo.hidden = false; + this.set_photo_props.hidden = false; }else{ - this.set_photo.hidden = true; + this.set_photo_props.hidden = true; } }, on_cmd_open: function(ev) { -- cgit v0.9.0.2