Implemented detail form readonly fields the correct way, this fixes copy & paste issues with Firefox
This commit is contained in:
@@ -1,15 +1,5 @@
|
||||
{% load i18n %}
|
||||
|
||||
{% block javascript %}
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
$(".generic_subform form :input").each(function() {
|
||||
this.disabled = true;
|
||||
});
|
||||
});
|
||||
</script>
|
||||
{% endblock %}
|
||||
|
||||
{% block stylesheets %}
|
||||
<style type="text/css">
|
||||
#subform form textarea,
|
||||
|
||||
Reference in New Issue
Block a user