Merge pull request #4223 from svbergerem/3229-change-src-on-closing-lightbox

Change image to ajax-loader when closing lightbox
This commit is contained in:
Jonne Haß 2013-08-02 06:26:49 -07:00
commit c7eed23c61
2 changed files with 3 additions and 0 deletions

View file

@ -21,6 +21,7 @@
* Fix deleting a post from Facebook [#4290](https://github.com/diaspora/diaspora/pull/4290)
* Display notices a little bit longer to help on sign up errors [#4274](https://github.com/diaspora/diaspora/issues/4274)
* Fix user contact sharing/receiving [#4163](https://github.com/diaspora/diaspora/issues/4163)
* Change image to ajax-loader when closing lightbox [#3229](https://github.com/diaspora/diaspora/issues/3229)
## Features
* Admin: add option to find users under 13 (COPPA) [#4252](https://github.com/diaspora/diaspora/pull/4252)

View file

@ -151,6 +151,8 @@ jQuery.fn.center = (function() {
this.resetLightbox = function() {
self.lightbox.hide();
self.body.removeClass("lightboxed");
self.image.attr("src", "assets/ajax-loader2.gif");
self.imageset.html("");
};
this.set = function(opts) {