@itutoring/itutoring_application_js_api 1.4.27 → 1.4.28

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/apiController.js +2 -1
  2. package/package.json +1 -1
package/apiController.js CHANGED
@@ -96,7 +96,8 @@ class APIController
96
96
  // check for redirect
97
97
  if (json.data == "redirect" && json.url != undefined)
98
98
  {
99
- window.location.href = json.url;
99
+ alert(json.url);
100
+ window.location.href = decodeURI(json.url);
100
101
  }
101
102
  resolve(json.data);
102
103
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itutoring/itutoring_application_js_api",
3
- "version": "1.4.27",
3
+ "version": "1.4.28",
4
4
  "description": "Javascript API for iTutoring Application",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",