Skip to content
This repository was archived by the owner on Aug 10, 2022. It is now read-only.

Commit b9736df

Browse files
author
Michael Babker
committed
Restore jsonp, reverts 85f87e9
1 parent f358b79 commit b9736df

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

media/plg_installer_webinstaller/js/client.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ Joomla.apps = {
1111
view: "dashboard",
1212
id: 0,
1313
ordering: "",
14-
// fonturl: 'http://fonts.googleapis.com/css?family=Lato:300,400,700,300italic,400italic,700italic',
1514
cssfiles: [],
1615
jsfiles: [],
1716
list: 0,
@@ -54,8 +53,9 @@ Joomla.loadweb = function (url) {
5453

5554
jQuery.ajax({
5655
url: url,
57-
dataType: 'json',
56+
dataType: 'jsonp',
5857
cache: true,
58+
jsonpCallback: 'jedapps_jsonpcallback',
5959
timeout: 20000,
6060
success: function (response) {
6161
jQuery('#web-loader').hide();

media/plg_installer_webinstaller/js/client.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)