@@ -, +, @@ fine rules template - Edit an existing rule. - Click the "Clear" button and confirm. The entry form should be reset to its blank state. - Click the "Clear" button and cancel. The entry form should remain the same. --- koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt @@ -94,6 +94,10 @@ $(document).ready(function() { $("#default-circulation-rules tr:last td:eq(1) select").attr('disabled', 'disabled'); return false; }); + $("#clear_edit").on("click",function(e){ + e.preventDefault(); + clear_edit(); + }); }); //]]> @@ -332,7 +336,7 @@ for="tobranch">Clone these rules to: - + --