Skip to content

Commit

Permalink
Update z2m.js
Browse files Browse the repository at this point in the history
  • Loading branch information
zoic21 authored Feb 20, 2024
1 parent 6655cf1 commit bb66d57
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion desktop/js/z2m.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@

$('#bt_includeDeviceByCode').off('click').on('click',function(){
bootbox.prompt("{{Code ?}}", function(code){
if(code == null){
return;
}
jeedom.z2m.bridge.addByCode({
code : code,
error: function (error) {
Expand Down Expand Up @@ -250,4 +253,4 @@ $.ajax({
window.location.reload();
}
});
}
}

0 comments on commit bb66d57

Please sign in to comment.