Remove user script
This commit is contained in:
parent
e09008bcb7
commit
80b91435cf
8 changed files with 17 additions and 37 deletions
|
@ -57,13 +57,6 @@
|
|||
{% block js_media %}
|
||||
{% include "timezone/media-js.html" %}
|
||||
{{ form.media.js }}
|
||||
<script type="text/javascript">
|
||||
$(function () {
|
||||
$('#ace_user_script').on('ace_load', function (e, editor) {
|
||||
editor.getSession().setMode("ace/mode/javascript");
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<script type="text/javascript">
|
||||
$(function () {
|
||||
$('#disable-2fa-button').click(function () {
|
||||
|
@ -177,10 +170,6 @@
|
|||
{{ form.css_background }}
|
||||
<div><i>{{form.css_background.help_text}}</i></div>
|
||||
<br><br>
|
||||
<div class="block-header">{{ _('User-script') }}:</div>
|
||||
{{ form.user_script }}
|
||||
<hr>
|
||||
|
||||
<input type="submit" style="float:right" value="{{ _('Update profile') }}">
|
||||
</form>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue