← Back to team overview

mahara-contributors team mailing list archive

[Bug 1898809] Re: replacing a block html after saving configuration needs to be done through gridstack functions

 

this is a follow up of this report
https://bugs.launchpad.net/mahara/+bug/1898478

** Also affects: mahara/21.04
   Importance: Undecided
       Status: New

** Also affects: mahara/20.10
   Importance: Undecided
       Status: New

** Also affects: mahara/19.10
   Importance: Undecided
       Status: New

** Also affects: mahara/20.04
   Importance: Undecided
       Status: New

** Changed in: mahara/21.04
    Milestone: None => 21.04.0

** Changed in: mahara/20.10
    Milestone: None => 20.10.0

** Changed in: mahara/20.04
    Milestone: None => 20.04.2

** Changed in: mahara/19.10
    Milestone: None => 19.10.5

** Changed in: mahara/21.04
   Importance: Undecided => Medium

** Changed in: mahara/20.10
   Importance: Undecided => Medium

** Changed in: mahara/20.04
   Importance: Undecided => Medium

** Changed in: mahara/19.10
   Importance: Undecided => Medium

** Changed in: mahara/21.04
       Status: New => Incomplete

** Changed in: mahara/21.04
       Status: Incomplete => Confirmed

** Changed in: mahara/20.10
       Status: New => Confirmed

** Changed in: mahara/20.04
       Status: New => Confirmed

** Changed in: mahara/19.10
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1898809

Title:
  replacing a block html after saving configuration needs to be done
  through gridstack functions

Status in Mahara:
  Confirmed
Status in Mahara 19.10 series:
  Confirmed
Status in Mahara 20.04 series:
  Confirmed
Status in Mahara 20.10 series:
  Confirmed
Status in Mahara 21.04 series:
  Confirmed

Bug description:
  When replacing a block in the html after editing a block in a page 
  we need to do it by adding and removing a widget on the gridstack element, using the gridstack functions that come with the library.

  The way we do it now, we are just replacing the content of the DOM.
  Which is not ideal, the grid needs to have all the elements registered
  as gridstack items so it can handle them.

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


References