We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 21456ff commit bdbb316Copy full SHA for bdbb316
1 file changed
src/Plugins/SmartStore.DiscountRules/Views/DiscountRules/HadSpentAmount.cshtml
@@ -7,18 +7,6 @@
7
<script>
8
$(function () {
9
var prefix = '@ViewData.TemplateInfo.HtmlFieldPrefix';
10
- var chk = $("#@Html.FieldIdFor(model => model.LimitToCurrentBasketSubTotal)").click(toggleLimitToBasketSettings);
11
- toggleLimitToBasketSettings();
12
-
13
- function toggleLimitToBasketSettings() {
14
- var pnl = $('#@Html.FieldIdFor(model => model.LimitToCurrentBasketSubTotal)').closest('tr').next();
15
- if (chk.is(':checked')) {
16
- pnl.show();
17
- }
18
- else {
19
- pnl.hide();
20
21
22
23
window[prefix + '_getSettings'] = function () {
24
return JSON.stringify(
0 commit comments