← Back to team overview

mahara-contributors team mailing list archive

[Bug 1444229] [NEW] Signal the AJAX block loader with a flag instead of empty block content

 

Public bug reported:

When I implemented the AJAX block loader, I wrote it so that the AJAX
block loader is used, if a block's content is empty. This is a rather
hacky way to do it, though, because sometimes a block just has empty
content. (See Bug 1443832)

We should instead have a specific way for the block to communicate to
the template "Use the AJAX block loader". This can probably be a flag of
some sort on the block object.

** Affects: mahara
     Importance: High
     Assignee: Aaron Wells (u-aaronw)
         Status: In Progress

** Affects: mahara/15.04
     Importance: High
     Assignee: Aaron Wells (u-aaronw)
         Status: In Progress

** Affects: mahara/15.10
     Importance: High
     Assignee: Aaron Wells (u-aaronw)
         Status: In Progress


** Tags: ajax

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

** Also affects: mahara/15.04
   Importance: High
     Assignee: Aaron Wells (u-aaronw)
       Status: In Progress

** Changed in: mahara/15.10
    Milestone: None => 15.10.0

** Changed in: mahara/15.10
     Assignee: (unassigned) => Aaron Wells (u-aaronw)

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

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

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

Title:
  Signal the AJAX block loader with a flag instead of empty block
  content

Status in Mahara ePortfolio:
  In Progress
Status in Mahara 15.04 series:
  In Progress
Status in Mahara 15.10 series:
  In Progress

Bug description:
  When I implemented the AJAX block loader, I wrote it so that the AJAX
  block loader is used, if a block's content is empty. This is a rather
  hacky way to do it, though, because sometimes a block just has empty
  content. (See Bug 1443832)

  We should instead have a specific way for the block to communicate to
  the template "Use the AJAX block loader". This can probably be a flag
  of some sort on the block object.

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


Follow ups

References