Revision 7b03930b
Von Werner Hahn vor etwa 7 Jahren hinzugefügt
js/kivi.ShopOrder.js | ||
---|---|---|
1 |
//TMP |
|
2 | 1 |
namespace('kivi.ShopOrder', function(ns) { |
3 | 2 |
ns.massTransferInitialize = function() { |
4 | 3 |
kivi.popup_dialog({ |
5 | 4 |
id: 'status_mass_transfer', |
6 | 5 |
dialog: { |
7 |
title: kivi.t8('Status Shoptransfer') |
|
6 |
title: kivi.t8('Status Shoptransfer'), |
|
7 |
close: function(event, ui) { alert('CLOSE'); }, |
|
8 | 8 |
} |
9 | 9 |
}); |
10 |
alert('Hallo'); |
|
11 | 10 |
}; |
12 | 11 |
|
13 | 12 |
ns.massTransferStarted = function() { |
... | ... | |
24 | 23 |
$('.ui-dialog-titlebar button.ui-dialog-titlebar-close').prop('disabled', '') |
25 | 24 |
}; |
26 | 25 |
|
26 |
ns.processClose = function() { |
|
27 |
$('#status_mass_transfer').dialog('close'); |
|
28 |
window.location.href = 'controller.pl?filter.obsolete=0&filter.transferred=0&action=ShopOrder%2flist&db=shop_orders&sort_by=shop_ordernumber'; |
|
29 |
}; |
|
30 |
|
|
27 | 31 |
ns.setup = function() { |
28 | 32 |
kivi.ShopOrder.massTransferInitialize(); |
29 | 33 |
kivi.submit_ajax_form('controller.pl?action=ShopOrder/mass_transfer','[name=shop_orders_list]'); |
30 | 34 |
}; |
31 | 35 |
|
32 | 36 |
}); |
33 |
//$(kivi.ShopOrder.setup); |
Auch abrufbar als: Unified diff
Shopmodul: Anpassungen nach mergen für master
Bis hier noch mit individuellen Kundenanpassungen