Remove plans block javascript from template
Bug #1002168 reported by
Richard Mansfield
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
Low
|
Richard Mansfield |
Bug Description
By putting more javascript into the static plansblock.js file, it's possible to remove the script element from the template. This is better for exports, which should not include javascript designed for the site. Putting the entire block initialisation into a separate function also allows the pagination links to be made available when a new plans block is first dragged into a page.
Changed in mahara: | |
status: | In Progress → Fix Committed |
To post a comment you must log in.
Reviewed: https:/ /reviews. mahara. org/1226 gitorious. org/mahara/ mahara/ commit/ f4cc34f0356e18d d4ac9a8be6be0ad 7a14211403
Committed: http://
Submitter: Richard Mansfield (<email address hidden>)
Branch: master
commit f4cc34f0356e18d d4ac9a8be6be0ad 7a14211403
Author: Richard Mansfield <email address hidden>
Date: Mon May 21 18:40:03 2012 +1200
Remove plans block javascript from template (bug #1002168)
By putting more javascript into the static plansblock.js file, it's
possible to remove the script element from the template. This is
better for exports, which should not include javascript designed for
the site. Putting the entire block initialisation into a separate
function also allows the pagination links to be made available when a
new plans block is first dragged into a page.
Change-Id: I7a5e6448c14272 660b317b55b4db7 cd2829576f7
Signed-off-by: Richard Mansfield <email address hidden>