mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
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:
committed by
Akshay Joshi
parent
e46468321d
commit
cb635f6706
@@ -111,6 +111,19 @@ SELECT EXISTS(
|
||||
"""
|
||||
return False
|
||||
|
||||
def register(self, app, options):
|
||||
"""
|
||||
Override the default register function to automagically register
|
||||
sub-modules at once.
|
||||
"""
|
||||
from .schedules import blueprint as module
|
||||
self.submodules.append(module)
|
||||
|
||||
from .steps import blueprint as module
|
||||
self.submodules.append(module)
|
||||
|
||||
super(JobModule, self).register(app, options)
|
||||
|
||||
|
||||
blueprint = JobModule(__name__)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user