kveeiv/extjs-boxselect — pull request #15 by alexmipego (2012-07-11 14:20:12+00:00)
Title: Fix valueStore/SelectionModel destruction order.

This changes the order on which the valueStore and selectionModel objects are destroyed. Apparently when detroying the value store, the tpl is ran and it depends on the selectionModel for the isSelected implementation. When a view is being destroyed the boxselect would generate a "XTemplate Error: Cannot call method 'isSelected' of undefined" console log message for each element on the valueStore.