"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "palemoon/modules/FormValidationHandler.jsm" between
palemoon-29.4.1-source.tar.xz and palemoon-29.4.2-source.tar.xz

About: Pale Moon is a full-featured, optimized browser derived from the code behind the Firefox browser (shares the Unified XUL Platform (UXP)). Source code. Hint (Sept. 15, 2021): The separate application source code tarballs seems no longer available but only tarballs bundled with the underlying UXP platform code (see here).

FormValidationHandler.jsm  (palemoon-29.4.1-source.tar.xz):FormValidationHandler.jsm  (palemoon-29.4.2-source.tar.xz)
skipping to change at line 127 skipping to change at line 127
*/ */
_showPopup: function (aWindow, aPanelData) { _showPopup: function (aWindow, aPanelData) {
let previouslyShown = !!this._panel; let previouslyShown = !!this._panel;
this._panel = aWindow.document.getElementById("invalid-form-popup"); this._panel = aWindow.document.getElementById("invalid-form-popup");
this._panel.firstChild.textContent = aPanelData.message; this._panel.firstChild.textContent = aPanelData.message;
this._panel.hidden = false; this._panel.hidden = false;
let tabBrowser = aWindow.gBrowser; let tabBrowser = aWindow.gBrowser;
this._anchor = tabBrowser.popupAnchor; this._anchor = tabBrowser.popupAnchor;
this._anchor.left = aPanelData.contentRect.left; this._anchor.left = aPanelData.contentRect.left;
this._anchor.top = aPanelData.contentRect.top; this._anchor.top = Math.max(0, aPanelData.contentRect.top);
this._anchor.width = aPanelData.contentRect.width; this._anchor.width = aPanelData.contentRect.width;
this._anchor.height = aPanelData.contentRect.height; this._anchor.height = aPanelData.contentRect.height;
this._anchor.hidden = false; this._anchor.hidden = false;
// Display the panel if it isn't already visible. // Display the panel if it isn't already visible.
if (!previouslyShown) { if (!previouslyShown) {
// Cleanup after the popup is hidden // Cleanup after the popup is hidden
this._panel.addEventListener("popuphiding", this, true); this._panel.addEventListener("popuphiding", this, true);
// Hide if the user scrolls the page // Hide if the user scrolls the page
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)