X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/a39ce20a7f4d01f30508c4d003e6d973298866c6..0beb0bf8e1f061894f48523e5d134c6b923f4c32:/project/templates/explorer/file_xml.html?ds=sidebyside diff --git a/project/templates/explorer/file_xml.html b/project/templates/explorer/file_xml.html index 5bad3c4a..e9cd85c0 100644 --- a/project/templates/explorer/file_xml.html +++ b/project/templates/explorer/file_xml.html @@ -50,7 +50,13 @@ $('iframe').load(function() { $('#images').autoscroll('iframe'); - + $('.toggleAutoscroll').toggle(function() { + $(this).html('Synchronizuj przewijanie'); + $('#images').disableAutoscroll(); + }, function() { + $(this).html('Nie synchronizuj przewijania'); + $('#images').enableAutoscroll(); + }) setTimeout(function() {resizePanels();}, 10); }) @@ -84,7 +90,12 @@
{{ form.user.errors }} {{ form.commit_message.errors }} -

Użytkownik: {{ form.user }} Opis zmian: {{ form.commit_message }}

+

+ Użytkownik: {{ form.user }} + Opis zmian: {{ form.commit_message }} + + Nie synchronizuj przewijania +

{% endblock maincontent %}