I get this error message in the console when I click on a picture from the picture gallery:
What is the code for that function??
Thank you.
openPicPreview js missing from Image uploader
9 months ago
9 months ago
#1
9 months ago
#2
HI John,
Hmm seems that the 'openPicPreview()' function was removed from admin.js along with 'ditchPreviewPic()'. I can't find when the change was made but here is a quick fix to get it back again. Paste the following at the end of admin.jsand it should now work.
Hmm seems that the 'openPicPreview()' function was removed from admin.js along with 'ditchPreviewPic()'. I can't find when the change was made but here is a quick fix to get it back again. Paste the following at the end of admin.jsand it should now work.
9 months ago
#3
Perfect. Thank you.
Should I start an issue on github ??
Should I start an issue on github ??
9 months ago
#4
★ Winning Post! ★
The thread creator has indicated that this post solved the problem or provided the best insight.
Members who post winning responses earn points for our leaderboard.
Points mean prizes!
Yes you can but I'd try creating a new app first with the desktop app and add a multi picture uploader to it to see if is a consistent issue as DC does update Trongate constantly.
Also, please close this thread if you feel your question has been answered.