Show right messages as soon as possible (#632)

* Flashed messaged should be flushed in every page

* Show error messages in AJAX style

* Introduce the decorator "api"

* Move toggleCheckbox() to the right place and trigger it in jQuery style
This commit is contained in:
x4base
2016-06-21 11:42:54 -05:00
committed by Maxime Beauchemin
parent 40e1787948
commit 13095eb550
15 changed files with 105 additions and 19 deletions

View File

@@ -258,7 +258,7 @@ class CoreTests(CaravelTestCase):
self.logout()
self.assertRaises(
utils.CaravelSecurityException, self.test_save_dash, 'alpha')
AssertionError, self.test_save_dash, 'alpha')
alpha = appbuilder.sm.find_user('alpha')