← Back to team overview

mahara-contributors team mailing list archive

[Bug 1360943] [NEW] In admin extensions the save_config_options function lacks the $form attribute

 

Public bug reported:

There is no easy way to do a specific $form->json_reply() when saving an
Admin -> Extensions config form.

For each plugin it defaults to a generic 'Saved successfully'.

I plan to adjust how this works so that it passes in the Pieform $form
so that one can specify a special return success message, or default to
generic one if no special one supplied.

This is needed for Bug 1339113.

** Affects: mahara
     Importance: Medium
     Assignee: Robert Lyon (robertl-9)
         Status: 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/1360943

Title:
  In admin extensions the save_config_options function lacks the $form
  attribute

Status in Mahara ePortfolio:
  In Progress

Bug description:
  There is no easy way to do a specific $form->json_reply() when saving
  an Admin -> Extensions config form.

  For each plugin it defaults to a generic 'Saved successfully'.

  I plan to adjust how this works so that it passes in the Pieform $form
  so that one can specify a special return success message, or default
  to generic one if no special one supplied.

  This is needed for Bug 1339113.

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


Follow ups

References