author | Michael Krelin <hacker@klever.net> | 2006-11-16 22:08:51 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2006-11-16 22:08:51 (UTC) |
commit | 4b21b4fc5248322c10ffb24edfd5ec78ebcce824 (patch) (side-by-side diff) | |
tree | 54557f61052727010a06d7ab243353a06204d155 | |
parent | dd82dbcb0be6f49d58594bfbe3a3ae5f01c54e5c (diff) | |
download | fireflix-4b21b4fc5248322c10ffb24edfd5ec78ebcce824.zip fireflix-4b21b4fc5248322c10ffb24edfd5ec78ebcce824.tar.gz fireflix-4b21b4fc5248322c10ffb24edfd5ec78ebcce824.tar.bz2 |
clear selection in photoset photos when changing the set
git-svn-id: http://svn.klever.net/kin/fireflix/trunk@228 fe716a7a-6dde-0310-88d9-d003556173a8
-rw-r--r-- | content/fireflix.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/content/fireflix.js b/content/fireflix.js index 2ee408f..24894df 100644 --- a/content/fireflix.js +++ b/content/fireflix.js @@ -127,16 +127,17 @@ var fireflix = { importXPR: function(xp) { this.tree.beginUpdateBatch(); this.photos = new Array(); var n; while(n=xp.iterateNext()) { this.photos.push(new Photo(n)); } this.rowCount = this.photos.length; this.tree.endUpdateBatch(); + this.selection.clearSelection(); }, load_photos: function(psid) { var _this = this; this.fireflix.flickr.api_call( { method: 'flickr.photosets.getPhotos', auth_token: 'default', photoset_id: psid, |