mirror of
https://repository.entgra.net/community/device-mgt-plugins.git
synced 2025-09-16 23:42:15 +00:00
Fixing JIRA: EMM-1765
This commit is contained in:
parent
53ecd9f4f2
commit
67d660ef1f
@ -2790,6 +2790,26 @@ $(document).ready(function () {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// <start - fixing feature-configuring switch double-click issue>
|
||||||
|
$(advanceOperations).on('hidden.bs.collapse', function (event) {
|
||||||
|
var collapsedFeatureBody = event.target.id;
|
||||||
|
var featureConfiguringSwitch = "#" + collapsedFeatureBody.
|
||||||
|
substr(0, collapsedFeatureBody.lastIndexOf("-")) + "-heading input[type=checkbox]";
|
||||||
|
if ($(featureConfiguringSwitch).prop("checked") == true) {
|
||||||
|
$(featureConfiguringSwitch).prop("checked", false);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
$(advanceOperations).on('shown.bs.collapse', function (event) {
|
||||||
|
var expandedFeatureBody = event.target.id;
|
||||||
|
var featureConfiguringSwitch = "#" + expandedFeatureBody.
|
||||||
|
substr(0, expandedFeatureBody.lastIndexOf("-")) + "-heading input[type=checkbox]";
|
||||||
|
if ($(featureConfiguringSwitch).prop("checked") == false) {
|
||||||
|
$(featureConfiguringSwitch).prop("checked", true);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
// <end - fixing feature-configuring switch double-click issue>
|
||||||
|
|
||||||
// adding support for cloning multiple profiles per feature with cloneable class definitions
|
// adding support for cloning multiple profiles per feature with cloneable class definitions
|
||||||
$(advanceOperations).on("click", ".multi-view.add.enabled", function () {
|
$(advanceOperations).on("click", ".multi-view.add.enabled", function () {
|
||||||
// get a copy of .cloneable and create new .cloned div element
|
// get a copy of .cloneable and create new .cloned div element
|
||||||
|
|||||||
@ -2553,21 +2553,25 @@ $(document).ready(function () {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// <start - fixing feature-configuring switch double-click issue>
|
||||||
$(advanceOperations).on('hidden.bs.collapse', function () {
|
$(advanceOperations).on('hidden.bs.collapse', function (event) {
|
||||||
if($(this).find('input').prop('checked')){
|
var collapsedFeatureBody = event.target.id;
|
||||||
$(this).find('input').prop('checked',false);
|
var featureConfiguringSwitch = "#" + collapsedFeatureBody.
|
||||||
|
substr(0, collapsedFeatureBody.lastIndexOf("-")) + "-heading input[type=checkbox]";
|
||||||
|
if ($(featureConfiguringSwitch).prop("checked") == true) {
|
||||||
|
$(featureConfiguringSwitch).prop("checked", false);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
$(advanceOperations).on('shown.bs.collapse', function (event) {
|
||||||
$(advanceOperations).on('shown.bs.collapse', function () {
|
var expandedFeatureBody = event.target.id;
|
||||||
if($(this).find('input').prop('checked') == false){
|
var featureConfiguringSwitch = "#" + expandedFeatureBody.
|
||||||
$(this).find('input').prop('checked',true);
|
substr(0, expandedFeatureBody.lastIndexOf("-")) + "-heading input[type=checkbox]";
|
||||||
|
if ($(featureConfiguringSwitch).prop("checked") == false) {
|
||||||
|
$(featureConfiguringSwitch).prop("checked", true);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
// <end - fixing feature-configuring switch double-click issue>
|
||||||
|
|
||||||
|
|
||||||
// adding support for cloning multiple profiles per feature with cloneable class definitions
|
// adding support for cloning multiple profiles per feature with cloneable class definitions
|
||||||
$(advanceOperations).on("click", ".multi-view.add.enabled", function () {
|
$(advanceOperations).on("click", ".multi-view.add.enabled", function () {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user