|
|
@ -100,7 +100,7 @@ def upload(): |
|
|
|
# Good! |
|
|
|
if is_ajax: |
|
|
|
# Was it a multiple upload? |
|
|
|
if result["multi"]: |
|
|
|
if result.get("multi"): |
|
|
|
return ajax_response(True, url_for(".album_index", name=album)) |
|
|
|
else: |
|
|
|
return ajax_response(True, url_for(".crop", photo=result["photo"])) |
|
|
@ -262,4 +262,4 @@ def arrange_photos(album): |
|
|
|
|
|
|
|
g.info["album"] = album |
|
|
|
g.info["photos"] = photos |
|
|
|
return template("photos/arrange_photos.html") |
|
|
|
return template("photos/arrange_photos.html") |
|
|
|