Skip to content

Commit

Permalink
fixed tab storing when browser is going to close
Browse files Browse the repository at this point in the history
  • Loading branch information
kazuhiro committed Nov 16, 2010
1 parent fce00c9 commit 0f1c5c6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion content/restclientOverlay.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,10 @@ ShutdownObserver.prototype = {
var tabWindow = mainWindow.getBrowser().getBrowserForTab(
container.childNodes[i]).
contentWindow.wrappedJSObject;


if (typeof tabWindow.restclient != "undefined") {
tabWindow.restclient.storeRestClientTab(container.childNodes[i]);
}
}
}
}
Expand Down

0 comments on commit 0f1c5c6

Please sign in to comment.