зеркало из https://github.com/mozilla/gecko-dev.git
Bug 621838 - The Addons pane is still pannable when the context menu of the search textbox is visible [r=mfinkle]
This commit is contained in:
Родитель
3a9b5af818
Коммит
e73e4cd206
|
@ -1687,7 +1687,11 @@
|
|||
if (hasData && (!aTextbox.readOnly || aIgnoreReadOnly))
|
||||
json.types.push("paste");
|
||||
|
||||
ContextHelper.showPopup({ target: aTextbox, json: json });
|
||||
if (ContextHelper.showPopup({ target: aTextbox, json: json })) {
|
||||
let event = document.createEvent("Events");
|
||||
event.initEvent("CancelTouchSequence", true, false);
|
||||
document.dispatchEvent(event);
|
||||
}
|
||||
]]></body>
|
||||
</method>
|
||||
</implementation>
|
||||
|
|
|
@ -176,6 +176,7 @@ MouseModule.prototype = {
|
|||
|
||||
this._targetScrollbox = null;
|
||||
this._targetScrollInterface = null;
|
||||
this._inputField = null;
|
||||
|
||||
this._cleanClickBuffer();
|
||||
},
|
||||
|
|
Загрузка…
Ссылка в новой задаче