|
|
@ -431,7 +431,8 @@ THE SOFTWARE. |
|
|
|
|
|
|
|
|
|
|
|
var renderError = function(message) { |
|
|
|
var renderError = function(message) { |
|
|
|
var type = errortype(message); |
|
|
|
var type = errortype(message); |
|
|
|
var $error = $('<div class="sol ' + type + '"><pre>' + message + '</pre><div class="close">x</div></div>'); |
|
|
|
var $pre = $("<pre />").text(message); |
|
|
|
|
|
|
|
var $error = $('<div class="sol ' + type + '"><div class="close">x</div></div>').prepend($pre); |
|
|
|
$('#output').append( $error ); |
|
|
|
$('#output').append( $error ); |
|
|
|
var err = message.match(/^:([0-9]*):([0-9]*)/); |
|
|
|
var err = message.match(/^:([0-9]*):([0-9]*)/); |
|
|
|
if (err && err.length) { |
|
|
|
if (err && err.length) { |
|
|
|