Commit Graph

5 Commits

Author SHA1 Message Date
Dominik Csapak
8cf53ea659 make viewselector stateful
to save the view across browser refresh/sessions

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-06-16 16:33:59 +02:00
Dominik Csapak
22f2f9d6c0 jslint: remove trailing commas
before ECMA5 trailing commas in arrays and objects
are forbidden

in jslint this is an error and cannot be deactivated

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-29 17:06:34 +02:00
Emmanuel Kasper
389b62b276 ext6migrate: fix picker dropdown on ViewSelector initial load
This fixes a nasty bug where an initial click on the  ViewSelector
trigger would display the picker but hide it immediatly afterwards.

What was happening behind the scene, is that without queryMode 'local',
the store bound to the picker was loaded on each picker display.

Loading the store would then trigger our onLoad() override in ToolKit.js
which called setValue(), which fired a bunch of unwanted events
including 'collapse'.

It is safe here not to call onLoad() to set an initial value, because
the initial value is set in initComponent() (value: groupdef[0][0])
2016-01-27 16:53:12 +01:00
Emmanuel Kasper
820c770f04 ext6migrate: move static fields to class body
Some fields  need to be processed by initConfig(),
which will be run before initComponent() in the
component lifecycle.

This fix the problem of the Selector default value
whihc was not loading.
2016-01-27 09:16:58 +01:00
Dietmar Maurer
bac5bd135c rename manager5 to manager6 2016-01-22 11:24:10 +01:00