mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
rm commented code and add comment
This commit is contained in:
parent
af06b1cd06
commit
a251e61d73
|
@ -297,6 +297,7 @@
|
||||||
}).change();
|
}).change();
|
||||||
|
|
||||||
// Only display the field element if the type is not text
|
// Only display the field element if the type is not text
|
||||||
|
// and don't display encryption option for checkbox or radio
|
||||||
$(".field_element").change(function(){
|
$(".field_element").change(function(){
|
||||||
$(this).find("option:selected").each(function(){
|
$(this).find("option:selected").each(function(){
|
||||||
if (($(this).attr("value")!="text") && ($(this).attr("value")!="textarea")){
|
if (($(this).attr("value")!="text") && ($(this).attr("value")!="textarea")){
|
||||||
|
@ -310,12 +311,6 @@
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}).change();
|
}).change();
|
||||||
// $(".field_element").change(function(){
|
|
||||||
// $(this).find("option:selected").each(function(){
|
|
||||||
// if
|
|
||||||
// })
|
|
||||||
// })
|
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue