diff --git a/content/events.js b/content/events.js index 208b7b6c..53cc4e00 100644 --- a/content/events.js +++ b/content/events.js @@ -192,7 +192,9 @@ liberator.AutoCommands = function () //{{{ list: function (auEvent, regex) // arguments are filters (NULL = all) { var flag; - var list = ""; + var list = ":" + liberator.util.escapeHTML(liberator.commandline.getCommand()) + "
" + + "
---- Auto-Commands ----
"; + for (var item in autoCommands) { flag = true;
---- Auto-Commands ----