Revision 7885c4d0
Von Sven Schöling vor mehr als 2 Jahren hinzugefügt
js/kivi.PriceRule.js | ||
---|---|---|
62 | 62 |
ns.add_new_row($('#price_rules_empty_item_select').val()); |
63 | 63 |
}); |
64 | 64 |
$('#price_rule_items').on('click', 'a.price_rule_remove_line', function(){ |
65 |
$(this).closest('div').remove();
|
|
65 |
$(this).closest('.price_rule_item').remove();
|
|
66 | 66 |
}) |
67 | 67 |
$('#price_rule_price_type_help').click(ns.open_price_type_help_popup); |
68 | 68 |
$('#price_rule_filter_type').change(ns.on_change_filter_type); |
templates/design40_webpages/price_rule/item.html | ||
---|---|---|
14 | 14 |
[ 'lt', LxERP.t8('is before') ], |
15 | 15 |
] %] |
16 | 16 |
|
17 |
<tr class="item"> |
|
17 |
<tr class="item price_rule_item">
|
|
18 | 18 |
<td> |
19 | 19 |
<a class="price_rule_remove_line interact cursor-pointer button">✘</a><!-- PENDENT: das Loeschzeichen sollte einheitlich angewendet werden. --> |
20 | 20 |
[% L.hidden_tag('price_rule.items[+].id', item.id) %] |
templates/webpages/price_rule/item.html | ||
---|---|---|
13 | 13 |
[ 'gt', LxERP.t8('is after') ], |
14 | 14 |
[ 'lt', LxERP.t8('is before') ], |
15 | 15 |
] %] |
16 |
<div> |
|
16 |
<div class="price_rule_item">
|
|
17 | 17 |
<a class='price_rule_remove_line interact cursor-pointer'>✘</a> |
18 | 18 |
[% L.hidden_tag('price_rule.items[+].id', item.id) %] |
19 | 19 |
[% L.hidden_tag('price_rule.items[].type', item.type) %] |
Auch abrufbar als: Unified diff
design40: PriceRule items im editor mit Klasse versehen
in den alten templates waren das <div>, im design40 sind das <tr>