← Back to team overview

mahara-contributors team mailing list archive

[Bug 2013246] A change has been merged

 

Reviewed:  https://reviews.mahara.org/c/mahara/+/13884
Committed: https://git.mahara.org/mahara/mahara/commit/1e5bdee1f934a8342d6bdbbee724678d4a1998fb
Submitter: "Doris Tam <doristam@xxxxxxxxxxxxxxx>"
Branch:    main

commit 1e5bdee1f934a8342d6bdbbee724678d4a1998fb
Author: Robert Lyon <robertl@xxxxxxxxxxxxxxx>
Date:   Thu Mar 30 10:20:43 2023 +1300

Bug 2013246: Adding a way to disable copy links when via <a> tags

Signed-off-by: Robert Lyon <robertl@xxxxxxxxxxxxxxx>
Change-Id: I9b0b516b3b85aa324a481fd7a0596216adf0fa1c

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/2013246

Title:
  Disable copy page link when link is an <a> tag

Status in Mahara:
  Fix Committed

Bug description:
  Normally the 'copy' option is a button set by pieforms and so has a
  built in disable/processing system so we can only click it once.

  But if we have an <A> link tag that hits the copying page directly
  with the view/collection id there is no disable mechanism on the link
  once it is clicked. This can cause people to click the link multiple
  times when the portfolio being copied is large because there is a
  delay after the clicking and before the finishing of
  process/redirection to new copy.

  We need some javascript to disable the link after the first click /
  show a processing icon so that people can only click it once before
  the process finishes/redirects

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/2013246/+subscriptions



References