-rw-r--r-- | NEWS.xml | 2 | ||||
-rw-r--r-- | content/fireflix-panel.xul | 4 | ||||
-rw-r--r-- | content/fireflix.js | 6 |
3 files changed, 7 insertions, 5 deletions
@@ -6,2 +6,4 @@ | |||
6 | <ni>Double click on photoset opens photoset in flickr</ni> | 6 | <ni>Double click on photoset opens photoset in flickr</ni> |
7 | <ni>Hiding completely photo properties in sets browser when no photo | ||
8 | selected</ni> | ||
7 | </version> | 9 | </version> |
diff --git a/content/fireflix-panel.xul b/content/fireflix-panel.xul index af92d22..62862a9 100644 --- a/content/fireflix-panel.xul +++ b/content/fireflix-panel.xul | |||
@@ -210,6 +210,6 @@ | |||
210 | </tree> | 210 | </tree> |
211 | <groupbox id="set_photo_props" orient="horizontal"> | 211 | <groupbox id="set_photo_props" orient="horizontal" hidden="true"> |
212 | <vbox width="100" pack="center"> | 212 | <vbox width="100" pack="center"> |
213 | <hbox pack="center"> | 213 | <hbox pack="center"> |
214 | <image id="set_photo" hidden="true" | 214 | <image id="set_photo" |
215 | ondblclick="fireflix.photoset.on_cmd_open(event)" /> | 215 | ondblclick="fireflix.photoset.on_cmd_open(event)" /> |
diff --git a/content/fireflix.js b/content/fireflix.js index 48053c5..328e9e2 100644 --- a/content/fireflix.js +++ b/content/fireflix.js | |||
@@ -95,3 +95,3 @@ var fireflix = { | |||
95 | this.fireflix = f; | 95 | this.fireflix = f; |
96 | pull_elements(this,document,[ 'set_photo' ]); | 96 | pull_elements(this,document,[ 'set_photo', 'set_photo_props' ]); |
97 | document.getElementById('setphotos').view = this; | 97 | document.getElementById('setphotos').view = this; |
@@ -160,5 +160,5 @@ var fireflix = { | |||
160 | this.fireflix.flickr.get_photo_url(p.server,p.id,p.secret,'t'); | 160 | this.fireflix.flickr.get_photo_url(p.server,p.id,p.secret,'t'); |
161 | this.set_photo.hidden = false; | 161 | this.set_photo_props.hidden = false; |
162 | }else{ | 162 | }else{ |
163 | this.set_photo.hidden = true; | 163 | this.set_photo_props.hidden = true; |
164 | } | 164 | } |