This commit is contained in:
neil%parkwaycc.co.uk 2006-07-09 19:03:53 +00:00
Родитель bd5b405454
Коммит 0a54e8f24c
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -203,7 +203,7 @@ function viewPartialSourceForSelection(selection)
}
// all our content is held by the data:URI and URIs are internally stored as utf-8 (see nsIURI.idl)
var loadFlags = Components.interfaces.nsIWebNavigation.LOAD_FLAGS_BYPASS_CACHE;
var loadFlags = Components.interfaces.nsIWebNavigation.LOAD_FLAGS_NONE;
getBrowser().webNavigation
.loadURI("view-source:data:text/html;charset=utf-8," + encodeURIComponent(tmpNode.innerHTML),
loadFlags, null, null, null);