summaryrefslogtreecommitdiff
path: root/sitestatic/archweb.js
diff options
context:
space:
mode:
Diffstat (limited to 'sitestatic/archweb.js')
-rw-r--r--sitestatic/archweb.js17
1 files changed, 0 insertions, 17 deletions
diff --git a/sitestatic/archweb.js b/sitestatic/archweb.js
index b8ad6817..ae4a1f1c 100644
--- a/sitestatic/archweb.js
+++ b/sitestatic/archweb.js
@@ -178,23 +178,6 @@ if (typeof $ !== 'undefined' && typeof $.tablesorter !== 'undefined') {
};
})(jQuery);
-/* news/add.html */
-function enablePreview() {
- $('#news-preview-button').click(function(event) {
- event.preventDefault();
- $.post('/news/preview/', {
- data: $('#id_content').val(),
- csrfmiddlewaretoken: $('#newsform input[name=csrfmiddlewaretoken]').val()
- },
- function(data) {
- $('#news-preview-data').html(data);
- $('#news-preview').show();
- }
- );
- $('#news-preview-title').html($('#id_title').val());
- });
-}
-
/* packages/details.html */
function ajaxifyFiles() {
$('#filelink').click(function(event) {