witten
/
luminotes
Archived
1
0
Fork 0

Restoring code in Wiki.js so that clear_messages() clears both errors and messages.

This commit is contained in:
Dan Helfman 2007-11-12 10:48:37 +00:00
parent 21ec98ea2e
commit 46b888f514
1 changed files with 11 additions and 0 deletions

View File

@ -1143,6 +1143,17 @@ Wiki.prototype.clear_messages = function () {
} catch ( e ) { }
} } );
}
var results = getElementsByTagAndClassName( "div", "error" );
for ( var i in results ) {
var result = results[ i ];
blindUp( result, options = { "duration": 0.5, afterFinish: function () {
try {
removeElement( result );
} catch ( e ) { }
} } );
}
}
Wiki.prototype.clear_pulldowns = function () {