Commit Graph

9 Commits

Author SHA1 Message Date
Dominik Csapak
68f8c7659f jslint: fix access to uninitialized variable
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-29 17:09:17 +02:00
Dominik Csapak
a764c5f72e jslint: fix missing or extra semicolon
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-29 17:07:42 +02:00
Dominik Csapak
604881d0bd jslint: add global entries where necessary
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-29 17:06: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
Dominik Csapak
ec0bd652db jslint: fix type confusion and property access
fix various type confusion, for example:
items: {} and items: []
style: string and style: {}

also fix object['property'] access with
object.property

also fix /=/ with either '=' or /\=/ where appropriate
(/=/ can be confused with /= according to jslint)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-29 17:06:23 +02:00
Dominik Csapak
f2833f5fe3 ext6migrate: fix subscription tab
fixes:
 * update deprecated field
 * move static configuration to class definition
 * change applyIf to apply
 * change system report handler to pass a function to
    check_command (instead of the result of showReport)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-03-02 06:15:01 +01:00
Emmanuel Kasper
55bc792342 reload stores of tabpanel children on 'activate' event
Tabpanel reload -> send 'show' event -> reload child panel store

do not work with ExtJS6

but

Tabpanel reload -> reload  child panel ->  child send 'show' event ->
reload a grid store in the panel still works

so we don't blindly replace the 'show' events everywhere but only
when the event was expected by a direct child of a tabpanel
2016-02-26 07:38:17 +01:00
Emmanuel Kasper
0a0ca36c94 remove redundant model definition
pve-services is already declared in ServiceView.js provoking
a namespace clash
2016-02-17 15:25:38 +01:00
Dietmar Maurer
0bef095abc copy node/Subscription.js from manager to manager6 2016-02-17 11:55:32 +01:00