Skip to content
Snippets Groups Projects
Commit a72d3aeb authored by Renaud Le Gac's avatar Renaud Le Gac
Browse files

clean version including filter librairies.

parent 90576d31
No related branches found
No related tags found
No related merge requests found
......@@ -47,7 +47,7 @@ def index():
script = "main"
if "script" in request.get_vars:
script = request.get_vars.script
if not script.endswith(".js"):
script = '%s.js' % script
......@@ -75,10 +75,9 @@ def index():
else:
jslibs = [os.path.join(base, 'static', 'extjs', 'adapter', 'ext', 'ext-base.js'),
os.path.join(base, 'static', 'extjs', 'ext-all.js'),
os.path.join(base, 'static', 'extjs', 'examples', 'ux', 'gridfilters', 'menu', 'RangeMenu.js'),
os.path.join(base, 'static', 'extjs', 'examples', 'ux', 'gridfilters', 'menu', 'ListMenu.js'),
os.path.join(base, 'static', 'extjs', 'examples', 'ux', 'gridfilters', 'GridFilters.js'),
os.path.join(base, 'static', 'extjs', 'examples', 'ux', 'gridfilters', 'filter', 'Filter.js'),
os.path.join(base, 'static', 'extjs', 'examples', 'ux', 'gridfilters', 'filter', 'BooleanFilter.js'),
......@@ -95,7 +94,7 @@ def index():
for file in os.listdir(server_path):
if file.endswith(".js"):
applibs.append(os.path.join(base, 'static', 'appjs', file))
# main application script
applibs.sort()
applibs.append(os.path.join(base, 'static', 'script', script))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment