Version 1 (modified by Fran Boon, 4 years ago) ( diff )


jQuery Upgrades

Read through release notes & identify which version you want to upgrade to for:

  • jQuery
  • jQuery Migrate
  • jQuery UI

Upgrade Files

jQuery & jQuery Migrate are both simply stored in static/scripts

jQuery UI is spread across:

  • static/scripts/ui
  • static/styles/ui
  • static/img/jquery-ui
  • static/themes/foundation/jquery-ui.theme.css

Clear the old versions (although leave additional plugins, such as fgtimepicker, multiselect, timepicker-addon

Update the file locations in views/jquery.html & views/scripts_top.html

If-necessary, update locations in static/scripts/tools/sahana.js.cfg &/or modules/templates/default/css.cfg


In debug mode carry out these actions, looking at the console including jQuery Migrate output:

  • Registration form (Password Strength) (any template,


  • modals (any template, /eden/org/office/create. Add Organisation inline)
  • Location Selector( any template, /eden/org/office/create)
  • dataTables (any template, /eden/org/organisation. Create record &

return to List)

  • Pivot Tables (any template /eden/org/organisation/report)
  • Autocomplete (any template, /eden/hrm/staff/create. Add Person in widget
  • Date Picker (any template, /eden/hrm/staff/create)
  • Calendars (IFRC template, login as, /eden/cms/post/create)
  • Image Crop (any template, /eden/hrm/staff select created staff & click on empty profile pic)
  • jsTree (IFRC template, /eden/org/organisation branches)
  • Organizer (IFRC template, login as & manage

a Member's Profile)

  • Profile Page Tabs
  • Roles Manager (any template w Policy3+ (e.g. IFRC), /eden/admin/role/4/update)
  • UCCE editor (UCCE template, edit Survey, add 1 of each Question

Type, Move them around)

  • UCCE reports (UCCE template, add records in dynamic table, set a

filter, view report, filter it)

Note: See TracWiki for help on using the wiki.