Aleksander Machniak
2013-08-08 8799df8ccdb09114b14742e0493a8ba401688fdf
refs
author Aleksander Machniak <alec@alec.pl>
Thursday, August 8, 2013 08:15 -0400
committer Aleksander Machniak <alec@alec.pl>
Thursday, August 8, 2013 08:15 -0400
commit8799df8ccdb09114b14742e0493a8ba401688fdf
tree 409a1ab486023d2c23807a1b37be11ed809a3ff7 tree | zip | gz
parent bc94e296e74ab4a3313a3f807b0a5cc40f264879 view | diff
Fix redundant SQL query on contact photo request after photo upload.
The query was also invalid in case of uploading photo in contact create form.
Move contact photo handling from show.inc into a separate file.
1 files added
3 files modified
146 ■■■■■ changed files
program/js/app.js 2 ●●● diff | view | raw | blame | history
program/steps/addressbook/func.inc 1 ●●●● diff | view | raw | blame | history
program/steps/addressbook/photo.inc 91 ●●●●● diff | view | raw | blame | history
program/steps/addressbook/show.inc 52 ●●●●● diff | view | raw | blame | history