Removing dynamic module loading and replacing it with static loading. Fixes #7492

Gets rid of all occurrences and usage of get_own_javascripts since it is no longer used.
This commit is contained in:
Aditya Toshniwal
2022-06-30 11:06:50 +05:30
committed by Akshay Joshi
parent e46468321d
commit cb635f6706
51 changed files with 490 additions and 550 deletions

View File

@@ -22,13 +22,7 @@ class StatisticsModule(PgAdminModule):
This module will render the statistics of the browser nodes on selection
when statistics panel is active.
"""
def get_own_javascripts(self):
return [{
'name': 'pgadmin.browser.object_statistics',
'path': url_for('statistics.static', filename='js/statistics'),
'when': None
}]
pass
# Initialise the module