1
1
progress ( 0 ) ;
2
2
eqLogic_id = null ;
3
3
4
- $ ( '.bt_FreeboxOS_Next ' ) . off ( 'click' ) . on ( 'click' , function ( ) {
4
+ $ ( '.bt_Freebox_Next ' ) . off ( 'click' ) . on ( 'click' , function ( ) {
5
5
funNext ( ) ;
6
6
} ) ;
7
7
8
- $ ( '.bt_FreeboxOS_Previous ' ) . off ( 'click' ) . on ( 'click' , function ( ) {
8
+ $ ( '.bt_Freebox_Previous ' ) . off ( 'click' ) . on ( 'click' , function ( ) {
9
9
funPrev ( ) ;
10
10
} ) ;
11
11
@@ -27,7 +27,7 @@ $('.bt_eqlogic_control_parental').on('click', function () {
27
27
progress ( 95 ) ;
28
28
} ) ;
29
29
30
- $ ( '.bt_FreeboxOS_Save ' ) . on ( 'click' , function ( ) {
30
+ $ ( '.bt_Freebox_Save ' ) . on ( 'click' , function ( ) {
31
31
logs ( 'info' , "──────────▶︎ :fg-warning:{{Sauvegarde des Paramètres}}:/fg: ◀︎───────────" ) ;
32
32
ip = $ ( '#input_freeboxIP' ) . val ( ) ;
33
33
//VersionAPP = $('#input_freeAppVersion').val();
@@ -36,37 +36,37 @@ $('.bt_FreeboxOS_Save').on('click', function () {
36
36
SetSetting ( ip , VersionAPP , Categorie ) ;
37
37
} ) ;
38
38
39
- $ ( '.bt_FreeboxOS_Autorisation ' ) . on ( 'click' , function ( ) {
39
+ $ ( '.bt_Freebox_Autorisation ' ) . on ( 'click' , function ( ) {
40
40
logs ( 'info' , "──────────▶︎ :fg-warning:{{Lancement}}:/fg: {{Autorisation Freebox}} ◀︎───────────" ) ;
41
41
autorisationFreebox ( ) ;
42
42
} ) ;
43
- $ ( '.bt_FreeboxOS_resetAPI ' ) . on ( 'click' , function ( ) {
43
+ $ ( '.bt_Freebox_resetAPI ' ) . on ( 'click' , function ( ) {
44
44
logs ( 'info' , "──────────▶︎ :fg-warning:{{Lancement}}:/fg: {{Reset de la version API}} ◀︎───────────" ) ;
45
45
ResetAPI ( ) ;
46
46
} ) ;
47
47
48
- $ ( '.bt_FreeboxOS_droitVerif ' ) . on ( 'click' , function ( ) {
48
+ $ ( '.bt_Freebox_droitVerif ' ) . on ( 'click' , function ( ) {
49
49
logs ( 'info' , "──────────▶︎ :fg-warning:{{Lancement}}:/fg: {{vérification des droits}} ◀︎───────────" ) ;
50
50
GetSessionData ( ) ;
51
51
} ) ;
52
- $ ( '.bt_FreeboxOS_droitVerif_pass ' ) . on ( 'click' , function ( ) {
52
+ $ ( '.bt_Freebox_droitVerif_pass ' ) . on ( 'click' , function ( ) {
53
53
logs ( 'info' , "──────────▶︎ :fg-warning:{{Ignorer la vérification des droits}}:/fg: ◀︎───────────" ) ;
54
54
funNext ( ) ;
55
55
} ) ;
56
56
57
- $ ( '.bt_FreeboxOS_ResetConfig ' ) . on ( 'click' , function ( ) {
57
+ $ ( '.bt_Freebox_ResetConfig ' ) . on ( 'click' , function ( ) {
58
58
logs ( 'info' , "──────────▶︎ :fg-warning:{{Reset de la configuration}}:/fg: ◀︎───────────" ) ;
59
59
SetDefaultSetting ( ) ;
60
60
GetSetting ( ) ;
61
- $ ( '.bt_FreeboxOS_Next ' ) . show ( ) ;
61
+ $ ( '.bt_Freebox_Next ' ) . show ( ) ;
62
62
} ) ;
63
63
64
- $ ( '.bt_FreeboxOS_Room ' ) . on ( 'click' , function ( ) {
64
+ $ ( '.bt_Freebox_Room ' ) . on ( 'click' , function ( ) {
65
65
logs ( 'info' , "──────────▶︎ :fg-warning:{{Lancement}}:/fg: {{Recherche des pièces}} ◀︎───────────" ) ;
66
66
//SearchTile_room();
67
67
} ) ;
68
68
69
- $ ( '.bt_FreeboxOS_Save_room ' ) . on ( 'click' , function ( ) {
69
+ $ ( '.bt_Freebox_Save_room ' ) . on ( 'click' , function ( ) {
70
70
checkvalue = $ ( '.checkbox_freeboxTiles:checked' ) . val ( ) ;
71
71
if ( checkvalue == null ) {
72
72
logs ( 'info' , "───▶︎ :fg-info:Cron Global Titles ::/fg: NOK" ) ;
@@ -236,8 +236,8 @@ function AskTrackAuthorization() {
236
236
if ( $ ( '.li_FreeboxOS_Summary.active' ) . attr ( 'data-href' ) == "authentification" ) {
237
237
238
238
$ ( '.textFreebox' ) . hide ( ) ;
239
- $ ( '.bt_FreeboxOS_Next ' ) . hide ( ) ;
240
- $ ( '.bt_FreeboxOS_Previous ' ) . hide ( ) ;
239
+ $ ( '.bt_Freebox_Next ' ) . hide ( ) ;
240
+ $ ( '.bt_Freebox_Previous ' ) . hide ( ) ;
241
241
$ ( '.FreeboxOS_OK' ) . hide ( ) ;
242
242
$ ( '.FreeboxOS_OK_NEXT' ) . hide ( ) ;
243
243
@@ -260,8 +260,8 @@ function AskTrackAuthorization() {
260
260
logs ( 'error' , + data . result . msg ) ;
261
261
} else {
262
262
$ ( '.textFreebox' ) . show ( ) ;
263
- $ ( '.bt_FreeboxOS_Next ' ) . show ( ) ;
264
- $ ( '.bt_FreeboxOS_Previous ' ) . show ( ) ;
263
+ $ ( '.bt_Freebox_Next ' ) . show ( ) ;
264
+ $ ( '.bt_Freebox_Previous ' ) . show ( ) ;
265
265
switch ( data . result . result . status ) {
266
266
case "unknown" :
267
267
$ ( '.textFreebox' ) . text ( '{{L\'application a un token invalide ou a été révoqué, il faut relancer l\'authentification. Merci}}' ) ;
@@ -304,16 +304,16 @@ function AskTrackAuthorization() {
304
304
} ) ;
305
305
} else {
306
306
$ ( '.textFreebox' ) . show ( ) ;
307
- $ ( '.bt_FreeboxOS_Next ' ) . show ( ) ;
308
- $ ( '.bt_FreeboxOS_Previous ' ) . show ( ) ;
307
+ $ ( '.bt_Freebox_Next ' ) . show ( ) ;
308
+ $ ( '.bt_Freebox_Previous ' ) . show ( ) ;
309
309
$ ( '.FreeboxOS_OK' ) . show ( ) ;
310
310
$ ( '.FreeboxOS_OK_NEXT' ) . show ( ) ;
311
311
}
312
312
}
313
313
314
314
function Good ( ) {
315
- $ ( '.bt_FreeboxOS_Previous ' ) . hide ( ) ;
316
- $ ( '.bt_FreeboxOS_NEXT ' ) . hide ( ) ;
315
+ $ ( '.bt_Freebox_Previous ' ) . hide ( ) ;
316
+ $ ( '.bt_Freebox_NEXT ' ) . hide ( ) ;
317
317
$ ( '.alert-info FreeboxOS_OK' ) . text ( '{{Authentification réussi}}' ) ;
318
318
logs ( 'info' , "Authentification réussi" ) ;
319
319
}
@@ -372,7 +372,7 @@ function GetSetting() {
372
372
console . log ( 'Objet par défaut : ' + data . result . Categorie )
373
373
console . log ( 'Version API : ' + data . result . API )
374
374
if ( data . result . DeviceName == null || data . result . DeviceName == "" ) {
375
- $ ( '.bt_FreeboxOS_Next ' ) . hide ( ) ;
375
+ $ ( '.bt_Freebox_Next ' ) . hide ( ) ;
376
376
$ ( '.textFreebox' ) . text ( '{{Votre Jeedom n\'a pas de Nom, il est impossible de continuer l\'appairage}}' ) ;
377
377
logs ( 'error' , "ERREUR : " + "{{Votre Jeedom n\'a pas de Nom, il est impossible de continuer l\'appairage}}" ) ;
378
378
$ ( '#div_alert' ) . showAlert ( {
@@ -499,12 +499,12 @@ function SetDefaultSetting() {
499
499
function GetSessionData ( ) {
500
500
501
501
$ ( '.textFreebox' ) . hide ( ) ;
502
- $ ( '.bt_FreeboxOS_Next ' ) . hide ( ) ;
503
- $ ( '.bt_FreeboxOS_Previous ' ) . hide ( ) ;
502
+ $ ( '.bt_Freebox_Next ' ) . hide ( ) ;
503
+ $ ( '.bt_Freebox_Previous ' ) . hide ( ) ;
504
504
$ ( '.FreeboxOS_OK' ) . hide ( ) ;
505
505
$ ( '.FreeboxOS_OK_NEXT' ) . hide ( ) ;
506
- $ ( '.bt_FreeboxOS_droitVerif ' ) . show ( ) ;
507
- $ ( '.bt_FreeboxOS ' ) . show ( ) ;
506
+ $ ( '.bt_Freebox_droitVerif ' ) . show ( ) ;
507
+ $ ( '.bt_Freebox ' ) . show ( ) ;
508
508
509
509
$ . ajax ( {
510
510
type : "POST" ,
@@ -545,12 +545,12 @@ function GetSessionData() {
545
545
permissions . settings ) {
546
546
logs ( 'info' , "───▶︎ :fg-info:{{Les droits sont}}:/fg: OK" ) ;
547
547
$ ( '.textFreebox' ) . show ( ) ;
548
- $ ( '.bt_FreeboxOS_Next ' ) . show ( ) ;
549
- $ ( '.bt_FreeboxOS_Previous ' ) . show ( ) ;
548
+ $ ( '.bt_Freebox_Next ' ) . show ( ) ;
549
+ $ ( '.bt_Freebox_Previous ' ) . show ( ) ;
550
550
$ ( '.FreeboxOS_OK' ) . show ( ) ;
551
551
$ ( '.FreeboxOS_OK_NEXT' ) . show ( ) ;
552
- $ ( '.bt_FreeboxOS_droitVerif ' ) . hide ( ) ;
553
- $ ( '.bt_FreeboxOS ' ) . hide ( ) ;
552
+ $ ( '.bt_Freebox_droitVerif ' ) . hide ( ) ;
553
+ $ ( '.bt_Freebox ' ) . hide ( ) ;
554
554
555
555
progress ( 65 ) ;
556
556
}
@@ -623,8 +623,8 @@ function SaveTitelRoom() {
623
623
function funNext ( ) {
624
624
updateMenu ( $ ( '.li_FreeboxOS_Summary.active' ) . next ( ) ) ;
625
625
626
- $ ( '.bt_FreeboxOS_Next ' ) . show ( ) ;
627
- $ ( '.bt_FreeboxOS_Previous ' ) . show ( ) ;
626
+ $ ( '.bt_Freebox_Next ' ) . show ( ) ;
627
+ $ ( '.bt_Freebox_Previous ' ) . show ( ) ;
628
628
629
629
logs ( 'info' , "──────────▶︎ :fg-warning:{{Étape}} ::/fg: " + $ ( '.li_FreeboxOS_Summary.active' ) . attr ( 'data-href' ) ) ;
630
630
@@ -660,8 +660,8 @@ function funNext() {
660
660
function funPrev ( ) {
661
661
updateMenu ( $ ( '.li_FreeboxOS_Summary.active' ) . prev ( ) ) ;
662
662
663
- $ ( '.bt_FreeboxOS_Next ' ) . show ( ) ;
664
- $ ( '.bt_FreeboxOS_Previous ' ) . show ( ) ;
663
+ $ ( '.bt_Freebox_Next ' ) . show ( ) ;
664
+ $ ( '.bt_Freebox_Previous ' ) . show ( ) ;
665
665
666
666
switch ( $ ( '.li_FreeboxOS_Summary.active' ) . attr ( 'data-href' ) ) {
667
667
case 'home' :
0 commit comments