Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision eb2db262

Von Tamino Steinert vor etwa 2 Monaten hinzugefügt

  • ID eb2db262468c0c77d9f2fa7a38fc5f9891b75b84
  • Vorgänger 9de3ed1d
  • Nachfolger 65dc6239

part: Druck von Etikett und Information

Unterschiede anzeigen:

js/kivi.Part.js
29 29
  $.download("controller.pl", data);
30 30
  };
31 31

  
32
 ns.show_print_options = function() {
33
    kivi.popup_dialog({
34
      id: 'print_options',
35
      dialog: {
36
        title:  kivi.t8('Print options'),
37
        width:  800,
38
        height: 300
39
      }
40
    });
41
  }
42

  
43
  ns.save_and_print = function() {
44
    $('#print_options').dialog('close');
45

  
46
    var data = $('#ic').serializeArray();
47
    data = data.concat($('#print_options_form').serializeArray());
48
    data.push({ name: 'action', value: 'Part/save_and_print' });
49

  
50
    $.post("controller.pl", data, kivi.eval_json_result);
51
  };
52

  
32 53
  ns.delete = function() {
33 54
    var data = $('#ic').serializeArray();
34 55
    data.push({ name: 'action', value: 'Part/delete' });

Auch abrufbar als: Unified diff