Gildas lormeau преди 14 години
родител
ревизия
2900e2047c
променени са 1 файла, в които са добавени 2 реда и са изтрити 0 реда
  1. 2 0
      WebContent/core/scripts/content/content.js

+ 2 - 0
WebContent/core/scripts/content/content.js

@@ -175,6 +175,8 @@
 
 	function sendBgProcessInit(content, title, url, baseURI, characterSet, winId, winIndex) {
 		var contextmenuTime = window.contextmenuTime;
+		if (!this.wininfo)
+			return;
 		window.contextmenuTime = null;
 		bgPort.postMessage({
 			processInit : true,