diff --git a/webui/scripts/main.js b/webui/scripts/main.js index 7a812e4..e45dd74 100644 --- a/webui/scripts/main.js +++ b/webui/scripts/main.js @@ -112,7 +112,33 @@ var rc = { $(".dialogfooterbuttonset").hide(); // Strip all event handlers $(".dialogfooterbuttonset input[type='button']").unbind('click'); - } + }, + + error: function(title, content, messages) { + var formatted_content = $('
').append($('

').text('content')); + if (messages) { + var formatted_messages = $('