File tree Expand file tree Collapse file tree 3 files changed +5
-10
lines changed Expand file tree Collapse file tree 3 files changed +5
-10
lines changed Original file line number Diff line number Diff line change 1+ $ ( document ) . ready ( function ( ) {
2+ $ ( 'form' ) . ajaxForm ( ) ;
3+ } ) ;
Original file line number Diff line number Diff line change @@ -256,11 +256,7 @@ <h4 class="modal-title" id="myModalLabel">{{ error_title }}</h4>
256256 < script src ="{% static "rest_framework /js/bootstrap.min.js" %}"> </ script >
257257 < script src ="{% static "rest_framework /js/prettify-min.js" %}"> </ script >
258258 < script src ="{% static "rest_framework /js/default.js" %}"> </ script >
259- < script >
260- $ ( document ) . ready ( function ( ) {
261- $ ( 'form' ) . ajaxForm ( ) ;
262- } ) ;
263- </ script >
259+ < script src ="{% static "rest_framework /js/load-ajax-form.js" %}"> </ script >
264260 {% endblock %}
265261 </ body >
266262 {% endblock %}
Original file line number Diff line number Diff line change @@ -299,11 +299,7 @@ <h1>{{ name }}</h1>
299299 < script src ="{% static "rest_framework /js/bootstrap.min.js" %}"> </ script >
300300 < script src ="{% static "rest_framework /js/prettify-min.js" %}"> </ script >
301301 < script src ="{% static "rest_framework /js/default.js" %}"> </ script >
302- < script >
303- $ ( document ) . ready ( function ( ) {
304- $ ( 'form' ) . ajaxForm ( ) ;
305- } ) ;
306- </ script >
302+ < script src ="{% static "rest_framework /js/load-ajax-form.js" %}"> </ script >
307303 {% endblock %}
308304
309305 </ body >
You can’t perform that action at this time.
0 commit comments