Remove usage of deprecated module_name model option introduced in 1c0c879be3
.
This commit is contained in:
parent
ff9e116198
commit
17d898dedd
|
@ -70,7 +70,7 @@
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
(function($) {
|
(function($) {
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
$('form#{{ opts.module_name }}_form :input:visible:enabled:first').focus()
|
$('form#{{ opts.model_name }}_form :input:visible:enabled:first').focus()
|
||||||
});
|
});
|
||||||
})(django.jQuery);
|
})(django.jQuery);
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Reference in New Issue