Skip to content

Commit

Permalink
fixed bug when only first tab was stored after browser closed
Browse files Browse the repository at this point in the history
  • Loading branch information
kazuhiro committed Nov 16, 2010
1 parent 3f97d45 commit fce00c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions content/restclientOverlay.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,10 +98,10 @@ ShutdownObserver.prototype = {
var container = mainWindow.getBrowser().tabContainer;
for (var i=0; i<container.childNodes.length;i++) {
var tabWindow = mainWindow.getBrowser().getBrowserForTab(
container.childNodes[0]).
container.childNodes[i]).
contentWindow.wrappedJSObject;

tabWindow.restclient.storeRestClientTab(container.childNodes[0]);
tabWindow.restclient.storeRestClientTab(container.childNodes[i]);
}
}
}
Expand Down

0 comments on commit fce00c9

Please sign in to comment.