juju/juju-gui — pull request #77 by mitechie (2014-01-17 20:47:39+00:00)
Title: Make sure minimized updates view state.

Minimized did not update the _viewState and _oldState when called. This caused https://launchpad.net/bugs/1260831 because the browser app was not properly detecting changes in viewmode and cleaning up after itself along with loading valid previous state (in this case the search values)

This update the minimized function to update the state. It should also be calling next() like the sidebar() call.

QA:

Perform the steps in the bug. It should not be reproduceable.