Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Modification de ENGINE en InnoDB de la table interactQuery en v… #1721

Merged
merged 42 commits into from
Apr 19, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
3d00d9c
warning fix lors de l'execution de cronDaily
lucguinchard Mar 20, 2020
0cb1e22
Initialisation de l'ajout des widgets dans le core :
lucguinchard Mar 29, 2020
b4c7d3d
Merge pull request #1719 from lucguinchard/add-widgets
lucguinchard Mar 29, 2020
80e6d5a
Mise à jour des tables lors d'une mise à jour 0.7.x vers 0.8.0
lucguinchard Mar 29, 2020
c50a57e
Modification de `ENGINE` en `InnoDB` de la table `interactQuery` en v…
lucguinchard Mar 29, 2020
d5a7a65
Merge importJustAfterPostIns into add-widgets
lucguinchard Apr 2, 2020
49263c6
Merge commit '96b64c3f4d9d075082456792879ed355f94b68c6' into add-widgets
lucguinchard Apr 2, 2020
39f00ef
Merge commit 'd31be61b0dd565e8bb4a067c1352f54a57815dd0' into add-widgets
lucguinchard Apr 2, 2020
19953f1
Merge origin/develop into changeInteractQueryToInnoDB
lucguinchard Apr 2, 2020
8556f39
Bugs fix lors des migrations
lucguinchard Apr 2, 2020
a86e441
Fix migration process
slobberbone Apr 3, 2020
c6fb454
Mise en place de l'interface `widgets` pour jeedom.
lucguinchard Apr 3, 2020
b942380
bugfix : modification jeedom → nextdom
lucguinchard Apr 3, 2020
061723d
Mise ne place de la modal WidgetReplace.
lucguinchard Apr 3, 2020
5662fc2
clean scripts.cron-class-or-function-not-found
lucguinchard Apr 3, 2020
71b122e
fix bug : les icons pur jeedom replace `nextdom` to `jeedom` - Pour l…
lucguinchard Apr 3, 2020
5eb6309
Attribution du widget
Sylvaner Apr 5, 2020
ce593e3
Mise en place : possibilité de choisir une couleur pour une icone.
lucguinchard Apr 5, 2020
68148a2
Modification Sylvain : Attribution du widget
lucguinchard Apr 5, 2020
e315553
Merge origin/add-widgets into add-widgets
lucguinchard Apr 5, 2020
764d90c
nettoyage de l'affichage
lucguinchard Apr 5, 2020
e9103f1
Sélectionne les cases pour les cmds utilisées
lucguinchard Apr 6, 2020
7913023
change jeedom to nextdom
lucguinchard Apr 6, 2020
ab4e02a
change jeedom to nextdom
lucguinchard Apr 6, 2020
93f804c
change jeedom to nextdom
lucguinchard Apr 6, 2020
4483119
change jeedom to nextdom
lucguinchard Apr 6, 2020
c3407ae
change jeedom to nextdom + ajout de `;`, modification`==` en `===`...
lucguinchard Apr 6, 2020
ca8059b
bugfix $linkedEqLogic → $linkedObject
lucguinchard Apr 6, 2020
f518b47
fix warning : quand dashboard ou mobile n'existe pas.
lucguinchard Apr 6, 2020
a099f02
Ajout de bouton + Ajout du lien vers `La configuration de la commande`.
lucguinchard Apr 6, 2020
fb09341
Clean
lucguinchard Apr 7, 2020
dfb88ad
Mise en place des libs d'affiche displayCard
lucguinchard Apr 7, 2020
24aab85
fix capitalizeFirstLetter
lucguinchard Apr 7, 2020
305dec1
La génération des libs se fait dans libs et plus dans base
lucguinchard Apr 8, 2020
95f74ec
La génération des classes se fait dans base.js
lucguinchard Apr 8, 2020
2790fcc
Meuilleur gestion du panel `icon.selector`.
lucguinchard Apr 9, 2020
ed5f4cc
Généralisation du panel `Choisir une Icône`.
lucguinchard Apr 9, 2020
6c8a53a
Généralisation du panel `Choisir une Icône` dans les Résumés domotiques.
lucguinchard Apr 9, 2020
d1e99de
Généralisation du panel `Choisir une Icône` dans les Scénarios et Obj…
lucguinchard Apr 9, 2020
7127861
Affiche une vignette `Vues` et une `Designs` + Ajout du nombre de tâc…
lucguinchard Apr 10, 2020
028347a
Ajout d'une méthode getCount à CommonManager + utilisation dans Admin…
lucguinchard Apr 10, 2020
74edc09
Merge branch 'add-widgets' into changeInteractQueryToInnoDB
lucguinchard Apr 11, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion assets/config/Jeedom_version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.3.41
4.0.45
2 changes: 1 addition & 1 deletion assets/config/Nextdom_version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.7.0
0.8.0
80 changes: 80 additions & 0 deletions assets/config/nextdom.config.php
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,86 @@
),
),
),
'widget' => array(
'action' => array(
'other' => array(
'light' => array('template' => 'tmplicon', 'replace' => array('#_icon_on_#' => '<i class=\'icon_yellow icon jeedom-lumiere-on\'></i>', '#_icon_off_#' => '<i class=\'icon jeedom-lumiere-off\'></i>')),
'circle' => array('template' => 'tmplicon', 'replace' => array('#_icon_on_#' => '<i class=\'fas fa-circle\'></i>', '#_icon_off_#' => '<i class=\'far fa-circle\'></i>')),
'fan' => array('template' => 'tmplicon', 'replace' => array('#_icon_on_#' => '<i class=\'icon jeedom-ventilo\'></i>', '#_icon_off_#' => '<i class=\'fas fa-times\'></i>')),
'garage' => array('template' => 'tmplicon', 'replace' => array('#_icon_on_#' => '<i class=\'icon_green icon jeedom-garage-ferme\'></i>', '#_icon_off_#' => '<i class=\'icon_red icon jeedom-garage-ouvert\'></i>')),
'lock' => array('template' => 'tmplicon', 'replace' => array('#_icon_on_#' => '<i class=\'icon_green icon jeedom-lock-ferme\'></i>', '#_icon_off_#' => '<i class=\'icon_orange icon jeedom-lock-ouvert\'></i>')),
'prise' => array('template' => 'tmplicon', 'replace' => array('#_icon_on_#' => '<i class=\'icon jeedom-prise\'></i>', '#_icon_off_#' => '<i class=\'fas fa-times\'></i>')),
'sprinkle' => array('template' => 'tmplicon', 'replace' => array('#_icon_on_#' => '<i class=\'icon_blue icon nature-watering1\'></i>', '#_icon_off_#' => '<i class=\'fas fa-times\'></i>')),
'timeLight' => array('template' => 'tmplicon', 'replace' => array('#_time_widget_#' => '1', '#_icon_on_#' => '<i class=\'icon_yellow icon jeedom-lumiere-on\'></i>', '#_icon_off_#' => '<i class=\'icon jeedom-lumiere-off\'></i>')),
'timeCircle' => array('template' => 'tmplicon', 'replace' => array('#_time_widget_#' => '1', '#_icon_on_#' => '<i class=\'fas fa-circle\'></i>', '#_icon_off_#' => '<i class=\'fas fa-circle-thin\'></i>')),
'timeFan' => array('template' => 'tmplicon', 'replace' => array('#_time_widget_#' => '1', '#_icon_on_#' => '<i class=\'icon jeedom-ventilo\'></i>', '#_icon_off_#' => '<i class=\'fas fa-times\'></i>')),
'timeGarage' => array('template' => 'tmplicon', 'replace' => array('#_time_widget_#' => '1', '#_icon_on_#' => '<i class=\'icon_green icon jeedom-garage-ferme\'></i>', '#_icon_off_#' => '<i class=\'icon_red icon jeedom-garage-ouvert\'></i>')),
'timeLock' => array('template' => 'tmplicon', 'replace' => array('#_time_widget_#' => '1', '#_icon_on_#' => '<i class=\'icon jeedom-lock-ferme\'></i>', '#_icon_off_#' => '<i class=\'icon jeedom-lock-ouvert\'></i>')),
'timePrise' => array('template' => 'tmplicon', 'replace' => array('#_time_widget_#' => '1', '#_icon_on_#' => '<i class=\'icon jeedom-prise\'></i>', '#_icon_off_#' => '<i class=\'fas fa-times\'></i>')),
'timeSprinkle' => array('template' => 'tmplicon', 'replace' => array('#_time_widget_#' => '1', '#_icon_on_#' => '<i class=\'icon_blue icon nature-watering1\'></i>', '#_icon_off_#' => '<i class=\'fas fa-times\'></i>')),
),
'slider' => array(
'light' => array('template' => 'tmplicon', 'replace' => array('#_icon_on_#' => '<i class=\'icon_yellow icon jeedom-lumiere-on\'></i>', '#_icon_off_#' => '<i class=\'icon jeedom-lumiere-off\'></i>')),
'timeLight' => array('template' => 'tmplicon', 'replace' => array('#_time_widget_#' => '1', '#_icon_on_#' => '<i class=\'icon_yellow icon jeedom-lumiere-on\'></i>', '#_icon_off_#' => '<i class=\'icon jeedom-lumiere-off\'></i>')),
)
),
'info' => array(
'binary' => array(
'default' => array('template' => 'tmplicon', 'replace' => array('#_icon_on_#' => '<i class=\'icon_green fas fa-check\'></i>', '#_icon_off_#' => '<i class=\'icon_red fas fa-times\'></i>')),
'line' => array('template' => 'tmpliconline', 'replace' => array('#_icon_on_#' => '<i class=\'icon_green fas fa-check\'></i>', '#_icon_off_#' => '<i class=\'icon_red fas fa-times\'></i>')),
'alert' => array('template' => 'tmplicon', 'replace' => array('#_icon_on_#' => '<i class=\'icon_green fas fa-check\'></i>', '#_icon_off_#' => '<i class=\'icon_red icon jeedom-alerte2\'></i>')),
'door' => array('template' => 'tmplicon', 'replace' => array('#_icon_on_#' => '<i class=\'icon_green icon jeedom-porte-ferme\'></i>', '#_icon_off_#' => '<i class=\'icon_red icon jeedom-porte-ouverte\'></i>')),
'heat' => array('template' => 'tmplicon', 'replace' => array('#_icon_on_#' => '<i class=\'icon_red icon jeedom-feu\'></i>', '#_icon_off_#' => '<i class=\'fas fa-times\'></i>')),
'light' => array('template' => 'tmplicon', 'replace' => array('#_icon_on_#' => '<i class=\'icon_yellow icon jeedom-lumiere-on\'></i>', '#_icon_off_#' => '<i class=\'icon jeedom-lumiere-off\'></i>')),
'lock' => array('template' => 'tmplicon', 'replace' => array('#_icon_on_#' => '<i class=\'icon jeedom-lock-ferme\'></i>', '#_icon_off_#' => '<i class=\'icon_red icon jeedom-lock-ouvert\'></i>')),
'presence' => array('template' => 'tmplicon', 'replace' => array('#_icon_on_#' => '<i class=\'icon_green fas fa-check\'></i>', '#_icon_off_#' => '<i class=\'icon_red icon jeedom-mouvement\'></i>')),
'prise' => array('template' => 'tmplicon', 'replace' => array('#_icon_on_#' => '<i class=\'icon jeedom-prise\'></i>', '#_icon_off_#' => '<i class=\'fas fa-times\'></i>')),
'window' => array('template' => 'tmplicon', 'replace' => array('#_icon_on_#' => '<i class=\'icon_green icon jeedom-fenetre-ferme\'></i>', '#_icon_off_#' => '<i class=\'icon_red icon jeedom-fenetre-ouverte\'></i>')),
'flood' => array('template' => 'tmplicon', 'replace' => array('#_icon_on_#' => '<i class=\'icon_green fas fa-tint-slash\'></i>', '#_icon_off_#' => '<i class=\'icon_blue fas fa-tint\'></i>')),
'timeDoor' => array('template' => 'tmplicon', 'replace' => array('#_time_widget_#' => '1', '#_icon_on_#' => '<i class=\'icon_green icon jeedom-porte-ferme\'></i>', '#_icon_off_#' => '<i class=\'icon_red icon jeedom-porte-ouverte\'></i>')),
'timePresence' => array('template' => 'tmplicon', 'replace' => array('#_time_widget_#' => '1', '#_icon_on_#' => '<i class=\'icon_green fas fa-check\'></i>', '#_icon_off_#' => '<i class=\'icon_red icon jeedom-mouvement\'></i>')),
'timeWindow' => array('template' => 'tmplicon', 'replace' => array('#_time_widget_#' => '1', '#_icon_on_#' => '<i class=\'icon_green icon jeedom-fenetre-ferme\'></i>', '#_icon_off_#' => '<i class=\'icon_red icon jeedom-fenetre-ouverte\'></i>')),
'timeAlert' => array('template' => 'tmplicon', 'replace' => array('#_time_widget_#' => '1', '#_icon_on_#' => '<i class=\'icon_green fas fa-check\'></i>', '#_icon_off_#' => '<i class=\'icon_red icon jeedom-alerte2\'></i>')),
),
'numeric' => array(
'heatPiloteWire' => array('template' => 'tmplmultistate',
'test' => array(
array('operation' => '#value# == 3', 'state_light' => '<i class=\'icon jeedom-pilote-eco\'></i>'),
array('operation' => '#value# == 2', 'state_light' => '<i class=\'icon jeedom-pilote-off\'></i>'),
array('operation' => '#value# == 1', 'state_light' => '<i class=\'icon jeedom-pilote-hg\'></i>'),
array('operation' => '#value# == 0', 'state_light' => '<i class=\'icon jeedom-pilote-conf\'></i>')
)),
'timeHeatPiloteWire' => array('template' => 'tmplmultistate',
'replace' => array('#_time_widget_#' => '1'),
'test' => array(
array('operation' => '#value# == 3', 'state_light' => '<i class=\'icon jeedom-pilote-eco\'></i>'),
array('operation' => '#value# == 2', 'state_light' => '<i class=\'icon jeedom-pilote-off\'></i>'),
array('operation' => '#value# == 1', 'state_light' => '<i class=\'icon jeedom-pilote-hg\'></i>'),
array('operation' => '#value# == 0', 'state_light' => '<i class=\'icon jeedom-pilote-conf\'></i>')
)),
'heatPiloteWireQubino' => array('template' => 'tmplmultistate',
'test' => array(
array('operation' => '#value# >= 51 && #value# <= 99', 'state_light' => '<i class=\'icon jeedom-pilote-conf\'></i>'),
array('operation' => '#value# >= 41 && #value# <= 50', 'state_light' => '<i class=\'icon jeedom-pilote-conf\'></i><sup style=\'font-size: 0.3em; margin-left: 1px\'>-1</sup>'),
array('operation' => '#value# >= 31 && #value# <= 40', 'state_light' => '<i class=\'icon jeedom-pilote-conf\'></i><sup style=\'font-size: 0.3em; margin-left: 1px\'>-2</sup>'),
array('operation' => '#value# >= 21 && #value# <= 30', 'state_light' => '<i class=\'icon jeedom-pilote-eco\'></i>'),
array('operation' => '#value# >= 11 && #value# <= 20', 'state_light' => '<i class=\'icon jeedom-pilote-hg\'></i>'),
array('operation' => '#value# >= 0 && #value# <= 10', 'state_light' => '<i class=\'icon jeedom-pilote-off\'></i>'),
)),
'timeHeatPiloteWireQubino' => array('template' => 'tmplmultistate',
'replace' => array('#_time_widget_#' => '1'),
'test' => array(
array('operation' => '#value# >= 51 && #value# <= 99', 'state_light' => '<i class=\'icon jeedom-pilote-conf\'></i>'),
array('operation' => '#value# >= 41 && #value# <= 50', 'state_light' => '<i class=\'icon jeedom-pilote-conf\'></i><sup style=\'font-size: 0.3em; margin-left: 1px\'>-1</sup>'),
array('operation' => '#value# >= 31 && #value# <= 40', 'state_light' => '<i class=\'icon jeedom-pilote-conf\'></i><sup style=\'font-size: 0.3em; margin-left: 1px\'>-2</sup>'),
array('operation' => '#value# >= 21 && #value# <= 30', 'state_light' => '<i class=\'icon jeedom-pilote-eco\'></i>'),
array('operation' => '#value# >= 11 && #value# <= 20', 'state_light' => '<i class=\'icon jeedom-pilote-hg\'></i>'),
array('operation' => '#value# >= 0 && #value# <= 10', 'state_light' => '<i class=\'icon jeedom-pilote-off\'></i>'),
)
)
)
)
)
)
);
global $JEEDOM_INTERNAL_CONFIG;
Expand Down
72 changes: 72 additions & 0 deletions assets/css/compiled/pages/widget.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
/* This file is part of Jeedom.
*
* Jeedom is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Jeedom is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Jeedom. If not, see <http://www.gnu.org/licenses/>.
*/

/* This file is part of NextDom.
*
* NextDom is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* NextDom is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with NextDom. If not, see <http://www.gnu.org/licenses/>.
*
* @Support <https://www.nextdom.org>
* @Email <admin@nextdom.org>
* @Authors/Contributors: Sylvaner, Byackee, cyrilphoenix71, ColonelMoutarde, edgd1er, slobberbone, Astral0, DanoneKiD
*/
/* Need to be first */
@import "../../graphics/_colors.scss";

/* Tuiles widget */
.displayCard {
>.title {
margin: 0;
}
span.widget-icon {
font-size: 4em;
line-height: 88px;
border-radius: 10px;
padding: 10px;
vertical-align: middle;
padding-bottom: 2px;
}
img {
height: 80px;
width: auto;
}
}

/* Element */
#div_display_config {
input[type=text]{
width: 400px;
}
}

.fieldset_display_preview {
background-color: #16329110;
}

/* Element */
#div_display_preview {
margin-bottom: 20px;
}
2 changes: 1 addition & 1 deletion assets/css/graphics/_colors.scss
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
/* Basic colors */
$white:#FFF;
$black:#000;
$yellow:#BFFF00;
$yellow:#FFFF00;
$blue:#337ab7;
$purple:#563d7c;
$red:#c9302c;
Expand Down
8 changes: 7 additions & 1 deletion assets/css/themes/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ html {
/* Icones */
.iconSelected {
border: 1px dashed map_get($color_theme, 'color1') !important;
background-color: map_get($color_theme, 'color8') !important;
}

/* Sliders */
Expand Down Expand Up @@ -441,6 +442,11 @@ html {
background-color: map_get($color_theme, 'color7') !important;
}

/* Widget */
.widget-icon {
background-color: map_get($color_theme, 'color7') !important;
}

/* fond des timeline */
.timeline-item,
.timeline-header,
Expand Down Expand Up @@ -939,7 +945,7 @@ pre:not(.mobile-pre) {
/* ################################# */
.btn-app,
.btn-selector {
background-color: map_get($color_theme, 'color15') !important;
background-color: map_get($color_theme, 'color15');
}


Expand Down
8 changes: 4 additions & 4 deletions assets/icon/nextdomapp/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -453,19 +453,19 @@
content: "\e949";
}
.nextdomapp-home-nextdom:before,
.jeedomapp-home-nextdom:before {
.jeedomapp-home-jeedom:before {
content: "\e90b";
}
.nextdomapp-piece-nextdom:before,
.jeedomapp-piece-nextdom:before {
.jeedomapp-piece-jeedom:before {
content: "\e90c";
}
.nextdomapp-scenario-nextdom:before,
.jeedomapp-scenario-nextdom:before {
.jeedomapp-scenario-jeedom:before {
content: "\e90d";
}
.nextdomapp-design-nextdom:before,
.jeedomapp-design-nextdom:before {
.jeedomapp-design-jeedom:before {
content: "\e90e";
}
.nextdomapp-alerte2:before,
Expand Down
2 changes: 1 addition & 1 deletion assets/js/core/log.class.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ nextdom.log.autoupdate = function(queryParams) {
},
error: function () {
if (nextdom.log.timeout !== null) {
clearTimeout(jeedom.log.timeout);
clearTimeout(nextdom.log.timeout);
}
nextdom.log.timeout = setTimeout(function () {
nextdom.log.autoupdate(queryParams)
Expand Down
4 changes: 4 additions & 0 deletions assets/js/core/nextdom.class.js
Original file line number Diff line number Diff line change
Expand Up @@ -395,3 +395,7 @@ nextdom.cleanFileSystemRight = function(queryParams) {
nextdom.consistency = function(queryParams) {
nextdom.private.ajax('NextDom', 'consistency', queryParams);
};

nextdom.version = function(queryParams) {
nextdom.private.ajax('NextDom', 'version', queryParams);
};
49 changes: 49 additions & 0 deletions assets/js/core/widget.class.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
/* This file is part of Jeedom.
*
* Jeedom is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Jeedom is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Jeedom. If not, see <http://www.gnu.org/licenses/>.
*/

nextdom.widget = function () {
};

nextdom.widget.remove = function (queryParams) {
nextdom.private.ajax('Widget', 'remove', queryParams, ['id']);
};

nextdom.widget.get = function (queryParams) {
nextdom.private.ajax('Widget', 'byId', queryParams, ['id']);
};

nextdom.widget.loadConfig = function (queryParams) {
nextdom.private.ajax('Widget', 'loadConfig', queryParams, ['template']);
};

nextdom.widget.getThemeImg = function (queryParams) {
nextdom.private.ajax('Widget', 'getThemeImg', queryParams);
};

nextdom.widget.getPreview = function (queryParams) {
nextdom.private.ajax('Widget', 'getPreview', queryParams, ['id']);
};

nextdom.widget.save = function (queryParams) {
nextdom.private.ajax('Widget', 'save', queryParams, ['widget'], true);
};

//Modal de Remplacement bouton dans le menu de configuration
nextdom.widget.replacement = function(queryParams) {
nextdom.private.ajax('Widget', 'replacement', queryParams, ['version','replace','by']);
}

nextdom.widgets = nextdom.widget;
8 changes: 4 additions & 4 deletions assets/js/desktop/admin/network.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,13 +100,13 @@ function initEvents() {

// BDNS restart button
$('#bt_restartDns').on('click', function () {
jeedom.config.save({
nextdom.config.save({
configuration: $('#network').getValues('.configKey')[0],
error: function (error) {
notify('Core',error.message,"error");
},
success: function () {
jeedom.network.restartDns({
nextdom.network.restartDns({
error: function (error) {
notify('Core',error.message,"error");
},
Expand All @@ -122,13 +122,13 @@ function initEvents() {

// DNS halt button
$('#bt_haltDns').on('click', function () {
jeedom.config.save({
nextdom.config.save({
configuration: $('#network').getValues('.configKey')[0],
error: function (error) {
notify('Core',error.message,"error");
},
success: function () {
jeedom.network.stopDns({
nextdom.network.stopDns({
error: function (error) {
notify('Core',error.message,"error");
},
Expand Down
Loading