← Back to team overview

mahara-contributors team mailing list archive

[Bug 2013246] [NEW] Disable copy page link when link is an <a> tag

 

Public bug reported:

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

** Affects: mahara
     Importance: Wishlist
     Assignee: Robert Lyon (robertl-9)
         Status: In Progress

** Changed in: mahara
       Status: New => In Progress

** Changed in: mahara
   Importance: Undecided => High

** Changed in: mahara
   Importance: High => Wishlist

** Changed in: mahara
    Milestone: None => 23.04.0

** Changed in: mahara
     Assignee: (unassigned) => Robert Lyon (robertl-9)

-- 
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:
  In Progress

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



Follow ups