?
avatar dgrammatiko
dgrammatiko
1 Apr 2019

Steps to reproduce the issue

Move

/**
* Load the changelog data
*
* @param extensionId The extension ID to load the changelog for
* @param view The view the changelog is for,
* this is used to determine which version number to show
*
* @since 4.0.0
*/
Joomla.loadChangelog = (extensionId, view) => {
Joomla.request({
url: `index.php?option=com_installer&task=manage.loadChangelog&eid=${extensionId}&source=${view}&format=json`,
onSuccess: (response) => {
const result = JSON.parse(response);
document.querySelectorAll('#changelogModal .modal-body')[0].innerHTML = result.data;
},
});
};

to another file!!!!

Expected result

Core.js is supposed to be Joomla's API not the common garbage bin!!!

Actual result

System information (as much as possible)

Additional comments

avatar dgrammatiko dgrammatiko - open - 1 Apr 2019
avatar joomla-cms-bot joomla-cms-bot - change - 1 Apr 2019
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 1 Apr 2019
avatar franz-wohlkoenig franz-wohlkoenig - change - 2 Apr 2019
Status New Discussion
avatar franz-wohlkoenig franz-wohlkoenig - change - 2 Apr 2019
Category JavaScript Repository
avatar dgrammatiko dgrammatiko - change - 2 Apr 2019
Status Discussion Closed
Closed_Date 0000-00-00 00:00:00 2019-04-02 11:13:48
Closed_By dgrammatiko
avatar dgrammatiko dgrammatiko - close - 2 Apr 2019

Add a Comment

Login with GitHub to post a comment