View | Details | Raw Unified | Return to bug 19970
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/marc21_field_008.tt (-3 / +18 lines)
Lines 15-21 Link Here
15
<h4 id="h4_result">&quot;[% result %]&quot;</h4>
15
<h4 id="h4_result">&quot;[% result %]&quot;</h4>
16
16
17
<form name="f_pop" id="f_pop" onsubmit="report()" action="">
17
<form name="f_pop" id="f_pop" onsubmit="report()" action="">
18
<fieldset class="action" id="fixedlengthbuilderaction"><input type="submit" value="OK" /> <a href="#" class="cancel close">Cancel</a></fieldset>
18
    <div id="toolbar">
19
        <div class="btn-group">
20
            <button type="submit" class="btn btn-default btn-sm"><i class="fa fa-save"></i> Save</button>
21
        </div>
22
        <div class="btn-group">
23
            <button type="button" class="btn btn-default btn-sm close_window"><i class="fa fa-remove"></i> Cancel</button>
24
        </div>
25
    </div>
26
19
<input type="hidden" name="plugin_name" value="marc21_field_008.pl" />
27
<input type="hidden" name="plugin_name" value="marc21_field_008.pl" />
20
<input type="hidden" id="[% index %]" name="index" value="[% index %]" />
28
<input type="hidden" id="[% index %]" name="index" value="[% index %]" />
21
<input type="hidden" name="result" id="result" value="[% result %]" />
29
<input type="hidden" name="result" id="result" value="[% result %]" />
Lines 33-40 Link Here
33
</form>
41
</form>
34
42
35
[% MACRO jsinclude BLOCK %]
43
[% MACRO jsinclude BLOCK %]
44
    [% Asset.js("lib/jquery/plugins/jquery.fixFloat.js") %]
36
    [% Asset.js("js/xmlControlfield.js") %]
45
    [% Asset.js("js/xmlControlfield.js") %]
37
    <script type="text/javascript">
46
    <script>
47
        $(document).ready(function(){
48
            $('#toolbar').fixFloat();
49
            $(".close_window").on("click", function(e){
50
                e.preventDefault();
51
                window.close();
52
            });
53
        });
38
        var objXmlControlField;
54
        var objXmlControlField;
39
        var tr_result;
55
        var tr_result;
40
        var h4_result;
56
        var h4_result;
41
- 

Return to bug 19970