X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/3ed251508dd18e0afc8f62bd18802e2e1c72737c..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 @@
Użytkownik: {{ form.user }} Opis zmian: {{ form.commit_message }}
++ Użytkownik: {{ form.user }} + Opis zmian: {{ form.commit_message }} + + Nie synchronizuj przewijania +