Merge pull request #1806 from frietsch/master

Fixed a bug that can result in totally blank pages.
This commit is contained in:
Scott Jehl 2011-06-09 13:24:36 -07:00
commit 3ca8f35ca2

View file

@ -495,7 +495,8 @@
if( !$.support.dynamicBaseTag ) {
var newPath = path.get( fileUrl );
page.find( "[src], link[href], a[rel='external'], :jqmData(ajax='false'), a[target]" ).each(function() {
var thisAttr = $( this ).is( '[href]' ) ? 'href' : 'src',
var thisAttr = $( this ).is( '[href]' ) ? 'href' :
$(this).is('[src]') ? 'src' : 'action',
thisUrl = $( this ).attr( thisAttr );
// XXX_jblas: We need to fix this so that it removes the document