disable data transform when switching attribute field type. new member stable
This commit is contained in:
1 parent
edf38644c9
commit
77386f0284
12 files changed
+174
-95
No files matched your search
@@ -13,8 +13,10 @@ $(document).ready(function(){
|
||||
$(this).parents(".map-block").find(".form-horizontal").toggleClass("hide");
|
||||
if($(this).parents(".map-block").hasClass("disabled")){
|
||||
$(this).text("OFF");
|
||||
$(this).siblings(".subrole_disable_field").val("true");
|
||||
}else{
|
||||
$(this).text("ON");
|
||||
$(this).siblings(".subrole_disable_field").val("false");
|
||||
}
|
||||
}
|
||||
if($(this).parents("legend").length==1) {
|
||||
@@ -22,8 +24,10 @@ $(document).ready(function(){
|
||||
$(this).parents("legend").next("div").toggleClass("hide");
|
||||
if($(this).parents("legend").next("div").hasClass("hide")){
|
||||
$(this).text("OFF");
|
||||
$(this).siblings(".subrole_disable_field").val("true");
|
||||
}else{
|
||||
$(this).text("ON");
|
||||
$(this).siblings(".subrole_disable_field").val("false");
|
||||
}
|
||||
checkSwitch();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user