summaryrefslogtreecommitdiffstats
path: root/welco/static
diff options
context:
space:
mode:
authorFrédéric Péters <fpeters@entrouvert.com>2016-01-11 14:04:59 (GMT)
committerFrédéric Péters <fpeters@entrouvert.com>2016-01-11 14:05:29 (GMT)
commitf163f1b6e7f1faa7c420df61199bd06d7cbeefaf (patch)
tree24d9709f4ff77391475ecea3027f95b2c0dc6e1d /welco/static
parenta4571e0c693f307bbc9497d139f190519a0f6536 (diff)
downloadwelco-f163f1b6e7f1faa7c420df61199bd06d7cbeefaf.zip
welco-f163f1b6e7f1faa7c420df61199bd06d7cbeefaf.tar.gz
welco-f163f1b6e7f1faa7c420df61199bd06d7cbeefaf.tar.bz2
mail: remove "mail number" (#9008)v0.12
Diffstat (limited to 'welco/static')
-rw-r--r--welco/static/js/welco.js4
1 files changed, 0 insertions, 4 deletions
diff --git a/welco/static/js/welco.js b/welco/static/js/welco.js
index f498a81..480ad95 100644
--- a/welco/static/js/welco.js
+++ b/welco/static/js/welco.js
@@ -41,7 +41,6 @@ $(function() {
$(this).addClass('active');
$('#id_post_date').val($(this).data('post-date'));
$('#id_registered_mail_number').val($(this).data('registered-mail-number'));
- $('#id_mail_number').val($(this).data('mail-number'));
var source_pk = $('div.source .active[data-source-pk]').data('source-pk');
$('#postit').data('url', $('#postit').data('base-url') + '?mail=' + source_pk);
$('#postit').trigger('welco:load-mail-note');
@@ -161,13 +160,11 @@ $(function() {
$('.document').delegate('button.save', 'click', function() {
var post_date = $('#id_post_date').val();
var registered_mail_number = $('#id_registered_mail_number').val();
- var mail_number = $('#id_mail_number').val();
var source_type = $('div.source div[data-source-type]').data('source-type');
var source_pk = $('div.source .active[data-source-pk]').data('source-pk');
$.ajax({url: $(this).data('action-url'),
data: {post_date: post_date,
registered_mail_number: registered_mail_number,
- mail_number: mail_number,
source_type: source_type,
source_pk: source_pk},
method: 'POST',
@@ -175,7 +172,6 @@ $(function() {
success: function(data) {
$('div.source .active').data('post-date', post_date);
$('div.source .active').data('registered-mail-number', registered_mail_number);
- $('div.source .active').data('mail-number', mail_number);
$('#source-mainarea form').effect('highlight');
if ($('#id_post_date').length && !$('#id_post_date').val()) {
$('div.qualif button.done').attr('disabled', 'disabled');