Revision 2f2916b0
Nettoyage du code.
Suppression de code mort et corrections JSlint.
Change-Id: I839c8036810b8fa4f02a8c5f8c8a56d67836fbfd
Reviewed-on: https://vigilo-dev.si.c-s.fr/review/854
Tested-by: Build system <qa@vigilo-dev.si.c-s.fr>
Reviewed-by: Francois POIROTTE <francois.poirotte@c-s.fr>
vigigraph/public/js/loader.js | ||
---|---|---|
16 | 16 |
window.addEvent('domready', function () { |
17 | 17 |
this.element = $("loading"); |
18 | 18 |
}.bind(this)); |
19 |
this.logger = (new Log).enableLog(); |
|
19 |
this.logger = (new Log()).enableLog();
|
|
20 | 20 |
}, |
21 | 21 |
|
22 | 22 |
show: function() { |
vigigraph/public/js/toolbar.js | ||
---|---|---|
61 | 61 |
this.hostid = hostid; |
62 | 62 |
}, |
63 | 63 |
|
64 |
//clicked: function (e) { |
|
65 |
// if (!this.options.enabled) |
|
66 |
// return; |
|
67 |
// this.tree.selectGroup(); |
|
68 |
//}, |
|
69 |
|
|
70 | 64 |
redraw: function() { |
71 | 65 |
this.tree.clear(); |
72 | 66 |
this.tree.load(); |
... | ... | |
106 | 100 |
this.global_refresh = new Jx.Button({ |
107 | 101 |
label: _('Refresh'), |
108 | 102 |
tooltip: _('Globally change auto-refresh setting'), |
109 |
//image: app_path + 'images/refresh-all.png', |
|
110 | 103 |
image: app_path + 'images/refresh.png', |
111 | 104 |
toggle: true, |
112 | 105 |
onDown: function () { |
Also available in: Unified diff