witten
/
luminotes
Archived
1
0
Fork 0

Fix for a quota error being kicked off from each of the progress bar iframe

and the upload iframe, thereby causing one of them to hit a null
frame.pulldown member in IE 6 and throw a JavaScript error.
This commit is contained in:
Dan Helfman 2008-02-25 07:13:12 +00:00
parent e283151a9b
commit e6ff9203f3
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ general_error_script = \
quota_error_script = \
"""
withDocument( window.parent.document, function () { getElement( 'upload_frame' ).pulldown.cancel_due_to_quota(); } );
withDocument( window.parent.document, function () { var frame = getElement( 'upload_frame' ); if ( frame && frame.pulldown ) frame.pulldown.cancel_due_to_quota(); } );
"""