ソースを参照

force config.removeFrames = false when processing a frame

Gildas lormeau 14 年 前
コミット
8d18143981
1 ファイル変更3 行追加1 行削除
  1. 3 1
      WebContent/core/scripts/bg/background.js

+ 3 - 1
WebContent/core/scripts/bg/background.js

@@ -155,8 +155,10 @@
 
 	function process(tabId, senderId, config, processSelection, processFrame) {
 		var pageData, configScript;
-		if (processFrame)
+		if (processFrame) {
 			config.processInBackground = true;
+			config.removeFrames = false;
+		}
 		configScript = "singlefile.config = " + JSON.stringify(config) + "; singlefile.pageId = " + pageId + ";"
 				+ (processSelection ? "singlefile.processSelection = " + processSelection : "");
 		if (tabs[tabId] && tabs[tabId].processing)