Skip to content
Snippets Groups Projects
Commit 312bca32 authored by Neil Rashbrook's avatar Neil Rashbrook
Browse files

Bug 685457 Don't set attributes until after accessing the box object r=bienvenu

NPTODB DONTBUILD
parent 7dcbac81
No related branches found
No related tags found
No related merge requests found
......@@ -721,10 +721,6 @@
and close the popup -->
<method name="searchFailed">
<body><![CDATA[
// if it's the last session to return, time to clean up...
if (this.mSessionReturns == 0)
this.postSearchCleanup();
// if all searches are done and they all failed...
if (this.mSessionReturns == 0 && this.getResultCount() == 0) {
if (this.minResultsForPopup == 0) {
......@@ -734,6 +730,10 @@
this.closeResultPopup();
}
}
// if it's the last session to return, time to clean up...
if (this.mSessionReturns == 0)
this.postSearchCleanup();
]]></body>
</method>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment