geoadmin/mf-geoadmin3 — pull request #478 by elemoine (2013-09-25 14:58:42+00:00)
Title: JavaScript error in catalog tree component

Just got a js error in the catalog tree directive. This is the exception:

```
TypeError: Cannot read property 'selectedOpen' of undefined
at retainTreeState (http://mf-geoadmin30t.bgdi.admin.ch/elemoine/src/components/catalogtree/CatalogtreeDirective.js:38:45)
at wrappedCallback (http://mf-geoadmin30t.bgdi.admin.ch/elemoine/src/lib/angular-1.2.0rc2.js:9106:81)
at http://mf-geoadmin30t.bgdi.admin.ch/elemoine/src/lib/angular-1.2.0rc2.js:9192:26
at Scope.$eval (http://mf-geoadmin30t.bgdi.admin.ch/elemoine/src/lib/angular-1.2.0rc2.js:10034:28)
at Scope.$digest (http://mf-geoadmin30t.bgdi.admin.ch/elemoine/src/lib/angular-1.2.0rc2.js:9882:23)
at Scope.$apply (http://mf-geoadmin30t.bgdi.admin.ch/elemoine/src/lib/angular-1.2.0rc2.js:10137:24)
at done (http://mf-geoadmin30t.bgdi.admin.ch/elemoine/src/lib/angular-1.2.0rc2.js:6576:45)
at completeRequest (http://mf-geoadmin30t.bgdi.admin.ch/elemoine/src/lib/angular-1.2.0rc2.js:6760:7)
at http://mf-geoadmin30t.bgdi.admin.ch/elemoine/src/lib/angular-1.2.0rc2.js:6673:11
at HTMLScriptElement.doneWrapper (http://mf-geoadmin30t.bgdi.admin.ch/elemoine/src/lib/angular-1.2.0rc2.js:6772:21)
```