diff --git a/static/js/menu.js b/static/js/menu.js index 4b18c6d..dfe809c 100644 --- a/static/js/menu.js +++ b/static/js/menu.js @@ -94,6 +94,7 @@ menu.runScript = function(_id){ jx.utils.patterns.visitor(scripts,function(_item){ if(_item.text.trim().length > 0){ + var _code = eval(_item.text) var id = _id if (_item.parentNode != null){ diff --git a/templates/dialog.html b/templates/dialog.html index a943a5d..837c16a 100644 --- a/templates/dialog.html +++ b/templates/dialog.html @@ -1,6 +1,6 @@
{{title}}
-
+

{{html|safe}}