Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Drop unused App portals code
Browse files Browse the repository at this point in the history
mvorisek committed Sep 10, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent ec08c35 commit 4356dd3
Showing 15 changed files with 11 additions and 98 deletions.
11 changes: 0 additions & 11 deletions js/src/services/api.service.js
Original file line number Diff line number Diff line change
@@ -89,17 +89,6 @@ class ApiService {
// throw Error('Unable to replace element with id: ' + response.id);
}
}
if (response.portals) {
// Create app portal from JSON response.
const portals = Object.keys(response.portals);
for (const portalID of portals) {
const m = $('.ui.dimmer.modals.page, .atk-side-panels').find('#' + portalID);
if (m.length === 0) {
$(document.body).append(response.portals[portalID].html);
atk.apiService.evalResponse(response.portals[portalID].js);
}
}
}
if (response.atkjs) {
atk.apiService.evalResponse.call(this, response.atkjs);
}
1 change: 0 additions & 1 deletion public/js/atk-vue-item-search.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion public/js/atk-vue-item-search.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 4356dd3

Please sign in to comment.