Skip to content
This repository has been archived by the owner on Jul 12, 2021. It is now read-only.

MAE-2249 - Updated jquery version/page requires #9

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion admin/dashboard.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
$PAGE->set_pagelayout('admin');
$PAGE->set_cacheable(false);
$PAGE->requires->css('/report/deviceanalytics/css/dashboard_css.css');
$PAGE->requires->js('/report/deviceanalytics/libs/jquery-1.12.2.min.js', true);
$PAGE->requires->js('/report/deviceanalytics/libs/jquery-3.0.0.min.js', true);
$PAGE->requires->js('/report/deviceanalytics/libs/Chart.min.js', true);
$PAGE->requires->js('/report/deviceanalytics/js/dashboardcharts.js', false);

Expand Down
5 changes: 0 additions & 5 deletions libs/jquery-1.12.2.min.js

This file was deleted.

4 changes: 4 additions & 0 deletions libs/jquery-3.0.0.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion storage_helper_page.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
$PAGE->set_url('/report/deviceanalytics/storage_helper_page.php');
$PAGE->set_pagelayout('redirect');
$PAGE->requires->css('/report/deviceanalytics/css/storage_helper_page_css.css');
$PAGE->requires->js('/report/deviceanalytics/libs/jquery-1.12.2.min.js', true);
$PAGE->requires->js('/report/deviceanalytics/libs/jquery-3.0.0.min.js', true);

$datastorage = new deviceanalytics_data_storage();
$insertid = $datastorage->deviceanalytics_user_loggedin();
Expand Down