Loading the jquery.aciSortable.min.js javascript, as when we destroy

the jquery-aciTree from preferences dialog, it throws an exception,
which uses functions from this javascript.
pull/3/head
Ashesh Vashi 2016-03-24 14:23:16 +05:30
parent 7bce6dd903
commit 242d5f47f6
1 changed files with 11 additions and 0 deletions

View File

@ -120,6 +120,17 @@ class BrowserModule(PgAdminModule):
'exports': 'aciPluginClass.plugins.aciTree',
'preloaded': True
})
scripts.append({
'name': 'jquery.acisortable',
'path': url_for(
'browser.static',
filename='js/aciTree/jquery.aciSortable.min'
),
'deps': ['jquery', 'jquery.aciplugin'],
'exports': 'aciPluginClass.plugins.aciTree',
'when': None,
'preloaded': True
})
scripts.append({
'name': 'wcdocker',
'path': url_for(