diff options
author | Andrew Manning <tamanning@zoho.com> | 2018-02-25 08:36:52 -0500 |
---|---|---|
committer | Andrew Manning <tamanning@zoho.com> | 2018-02-25 08:36:52 -0500 |
commit | e3095ce6b2c76f13a852f0ec5f782d71101a7c6a (patch) | |
tree | beab28cbc399ea17e0c2fd6c38724387bafa7c5c /view/js | |
parent | 70b8f3240f9bc38a41e314f613f6c1bd69f5b430 (diff) | |
parent | 673cf8d35e224fcbbc0caef5e638c08bc3914feb (diff) | |
download | volse-hubzilla-e3095ce6b2c76f13a852f0ec5f782d71101a7c6a.tar.gz volse-hubzilla-e3095ce6b2c76f13a852f0ec5f782d71101a7c6a.tar.bz2 volse-hubzilla-e3095ce6b2c76f13a852f0ec5f782d71101a7c6a.zip |
Merge branch 'dev' into oauth2
Diffstat (limited to 'view/js')
-rw-r--r-- | view/js/mod_profile_photo.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/view/js/mod_profile_photo.js b/view/js/mod_profile_photo.js index 76b120684..832da764b 100644 --- a/view/js/mod_profile_photo.js +++ b/view/js/mod_profile_photo.js @@ -37,7 +37,9 @@ $.post("embedphotos/photolink", {href: href}, function(ddata) { if (ddata['status']) { - window.location.href = 'profile_photo/use/' + ddata['resource_id']; + var pf = $('#profile-photo-profiles').val(); + var prof = ((typeof pf !== 'undefined') ? '?f=&pf=' + pf : ''); + window.location.href = 'profile_photo/use/' + ddata['resource_id'] + prof; } else { window.console.log("{{$modalerrorlink}}" + ':' + ddata['errormsg']); } |