From 3a6df38d62fc975c1041c46643fc3f492c1b5501 Mon Sep 17 00:00:00 2001 From: niphlod Date: Thu, 29 Sep 2016 00:03:45 +0200 Subject: [PATCH] fixes #1407 passing a properly escaped string --- applications/admin/views/web2py_ajax.html | 12 +++++++----- applications/examples/views/web2py_ajax.html | 11 ++++++----- applications/welcome/views/web2py_ajax.html | 12 +++++++----- gluon/tests/test_appadmin.py | 1 + 4 files changed, 21 insertions(+), 15 deletions(-) diff --git a/applications/admin/views/web2py_ajax.html b/applications/admin/views/web2py_ajax.html index 357d80503..28ec0e023 100644 --- a/applications/admin/views/web2py_ajax.html +++ b/applications/admin/views/web2py_ajax.html @@ -1,10 +1,12 @@ {{ response.files.insert(0,URL('static','js/jquery.js')) diff --git a/applications/examples/views/web2py_ajax.html b/applications/examples/views/web2py_ajax.html index 357d80503..0f064de43 100644 --- a/applications/examples/views/web2py_ajax.html +++ b/applications/examples/views/web2py_ajax.html @@ -1,10 +1,11 @@ {{ response.files.insert(0,URL('static','js/jquery.js')) diff --git a/applications/welcome/views/web2py_ajax.html b/applications/welcome/views/web2py_ajax.html index 357d80503..28ec0e023 100644 --- a/applications/welcome/views/web2py_ajax.html +++ b/applications/welcome/views/web2py_ajax.html @@ -1,10 +1,12 @@ {{ response.files.insert(0,URL('static','js/jquery.js')) diff --git a/gluon/tests/test_appadmin.py b/gluon/tests/test_appadmin.py index c5e7402ed..4b502c126 100644 --- a/gluon/tests/test_appadmin.py +++ b/gluon/tests/test_appadmin.py @@ -31,6 +31,7 @@ class TestAppAdmin(unittest.TestCase): def setUp(self): from gluon.globals import Request, Response, Session, current from gluon.html import A, DIV, FORM, MENU, TABLE, TR, INPUT, URL, XML + from gluon.html import ASSIGNJS from gluon.validators import IS_NOT_EMPTY from gluon.compileapp import LOAD from gluon.http import HTTP, redirect