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:
parent
e283151a9b
commit
e6ff9203f3
|
@ -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(); } );
|
||||
"""
|
||||
|
||||
|
||||
|
|
Reference in New Issue