buffer.js: Properly fix lack of current buffer after removing a buffer
authorJeremy Maitin-Shepard <jeremy@jeremyms.com>
Fri, 7 Feb 2014 18:42:09 +0000 (10:42 -0800)
committerJeremy Maitin-Shepard <jeremy@jeremyms.com>
Wed, 12 Feb 2014 02:40:59 +0000 (18:40 -0800)
commit07064d76d10e0978c6de535e21f4597d44560fbd
tree8197423a6cecf05d66b4343670cf269194aeaff9
parent9ae04dee5f22cb5b03066651b3849c4a639d6f2e
buffer.js: Properly fix lack of current buffer after removing a buffer

buffer_container now has a current_buffer_object that tracks the
current buffer, as the selectedPanel attribute of the xul:deck cannot
be relied upon while removing a buffer.
modules/buffer.js