Fix for the bug EMM-1719

This commit is contained in:
Imesh Chandrasiri 2016-10-13 20:11:38 +05:30
parent 22ec7aa695
commit 2dd86c80b4

View File

@ -2543,6 +2543,28 @@ $(document).ready(function () {
} }
}); });
/**
*
* Fix for the bug EMM-1719
*/
$(advanceOperations).on('hidden.bs.collapse', function () {
if($(this).find('input').prop('checked')){
$(this).find('input').prop('checked',false);
}
});
/**
*
* Fix for the bug EMM-1719
*/
$(advanceOperations).on('shown.bs.collapse', function () {
if($(this).find('input').prop('checked') == false){
$(this).find('input').prop('checked',true);
}
});
// 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