shorten icon indicating copy to clipboard operation
shorten copied to clipboard

V0.0.14 yourls unexpected behavior when allow Fileupload

Open JSoko opened this issue 9 years ago • 1 comments

Hello, in oc 8.2.0 with shorten 0.0.14

if I create a new shortcode it works as it should. shorten1

But if I allow upload for unregistret Users bei clicking on "Bearbeiten" the unshortened link is shown and the long link will be sent by mail. shorten2

Workarround:

  1. fill in a password
  2. check "bearbeiten"
  3. fill in the password again Now it loads the shortend path again: shorten3

Ciao, Joachim

JSoko avatar Nov 11 '15 09:11 JSoko

What worked for me is that I added this code this.model.on('change:allowPublicUploadStatus', function() { replaceUrl2($('#linkText-' + view.cid)); }); in the function replaceShare() in js/script.js

I'm with oc 8.2.2 Hope it helps

tombou avatar Feb 12 '16 17:02 tombou