witten
/
luminotes
Archived
1
0
Fork 0

Removing some code within display_error() that was preventing it from working.

This commit is contained in:
Dan Helfman 2009-01-24 23:20:54 -08:00
parent 9aa96d54a4
commit 4675c5969b
1 changed files with 0 additions and 8 deletions

View File

@ -2556,14 +2556,6 @@ Wiki.prototype.display_error = function ( text, nodes, position_after ) {
this.clear_messages();
this.clear_pulldowns();
// remove all empty editors, some of which might exist due to a problem reaching the server
var iframes = getElementsByTagAndClassName( "iframe", "note_frame" );
for ( var i in iframes ) {
var editor = iframes[ i ].editor;
if ( editor.empty() )
editor.shutdown();
}
var inner_div = DIV( { "class": "error_inner" }, text + " " );
for ( var i in nodes )
appendChildNodes( inner_div, nodes[ i ] );