browser_object_follow: do not give $opener for following non-element/window in new...
commit19d43593255ffedd8b87e29ca5ee44a6f735f90f
authorJohn Foerch <jjfoerch@earthlink.net>
Sat, 14 May 2011 04:29:33 +0000 (14 00:29 -0400)
committerJohn Foerch <jjfoerch@earthlink.net>
Sat, 15 Oct 2011 00:21:35 +0000 (14 20:21 -0400)
treee8f246bdaa3a24ad2e30bf1eda88280eba525d09
parent21f2bb2f63c150a6941f248317e9a7cc8ab9f4b2
browser_object_follow: do not give $opener for following non-element/window in new buffer

The rationale behind this change is that the current buffer is not, literally
speaking, the "opener" when the user has typed an url or webjump to open via
a command like find-url-new-buffer.

This change also prepares the way for the forthcoming implementation of
buffer-ordering, wherein the $opener of a buffer is used to determine where
to insert the new buffer in the window's buffer_list.
modules/element.js