Reviewed:  https://reviews.mahara.org/c/mahara/+/13897
Committed: 
https://git.mahara.org/mahara/mahara/commit/27fcacf9d36d998b38cda5eaf0b74655aadc85ce
Submitter: "Robert Lyon <[email protected]>"
Branch:    main

commit 27fcacf9d36d998b38cda5eaf0b74655aadc85ce
Author: Robert Lyon <[email protected]>
Date:   Thu Apr 6 16:17:53 2023 +1200

Bug 2013246: Disable copy page link - regression issue

Still need the copy link in 'More' menu on normal page within a
collection to prompt with modal to choose copy collection or copy page

Signed-off-by: Robert Lyon <[email protected]>
Change-Id: Id5ed8af41195a842892d68fcf8c6e508f9c00159

-- 
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


_______________________________________________
Mailing list: https://launchpad.net/~mahara-contributors
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp

Reply via email to