|
|
@ -255,7 +255,7 @@ function attachGroupAdding() {
|
|
|
|
$(modalPopupContent).html($('#add-group-200-content').html());
|
|
|
|
$(modalPopupContent).html($('#add-group-200-content').html());
|
|
|
|
$("a#add-group-200-link").click(function () {
|
|
|
|
$("a#add-group-200-link").click(function () {
|
|
|
|
hidePopup();
|
|
|
|
hidePopup();
|
|
|
|
location.reload();
|
|
|
|
window.location.href = '/iotserver/groups';
|
|
|
|
});
|
|
|
|
});
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
$(modalPopupContent).html($('#group-400-content').html());
|
|
|
|
$(modalPopupContent).html($('#group-400-content').html());
|
|
|
@ -427,7 +427,6 @@ function attachEvents() {
|
|
|
|
$('div[data-group="' + groupId + '"]').remove();
|
|
|
|
$('div[data-group="' + groupId + '"]').remove();
|
|
|
|
$("a#remove-group-200-link").click(function () {
|
|
|
|
$("a#remove-group-200-link").click(function () {
|
|
|
|
hidePopup();
|
|
|
|
hidePopup();
|
|
|
|
location.reload();
|
|
|
|
|
|
|
|
});
|
|
|
|
});
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
$(modalPopupContent).html($('#group-409-content').html());
|
|
|
|
$(modalPopupContent).html($('#group-409-content').html());
|
|
|
@ -485,6 +484,7 @@ function attachEvents() {
|
|
|
|
$("div[data-groupid='" + groupId + "'] .ast-name").html(newGroupName);
|
|
|
|
$("div[data-groupid='" + groupId + "'] .ast-name").html(newGroupName);
|
|
|
|
$("a#edit-group-200-link").click(function () {
|
|
|
|
$("a#edit-group-200-link").click(function () {
|
|
|
|
hidePopup();
|
|
|
|
hidePopup();
|
|
|
|
|
|
|
|
window.location.href = '/iotserver/groups';
|
|
|
|
});
|
|
|
|
});
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
$(modalPopupContent).html($('#group-409-content').html());
|
|
|
|
$(modalPopupContent).html($('#group-409-content').html());
|
|
|
|