Change image to ajax-loader when closing lightbox

This commit is contained in:
Steffen van Bergerem 2013-06-14 14:38:09 +02:00
parent 1c6ed356cb
commit f810e39f52
2 changed files with 3 additions and 0 deletions

View file

@ -20,6 +20,7 @@
* Fix deleting a post from Facebook [#4290](https://github.com/diaspora/diaspora/pull/4290) * 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) * 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) * 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 ## Features
* Admin: add option to find users under 13 (COPPA) [#4252](https://github.com/diaspora/diaspora/pull/4252) * 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() { this.resetLightbox = function() {
self.lightbox.hide(); self.lightbox.hide();
self.body.removeClass("lightboxed"); self.body.removeClass("lightboxed");
self.image.attr("src", "assets/ajax-loader2.gif");
self.imageset.html("");
}; };
this.set = function(opts) { this.set = function(opts) {