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

(-)a/koha-tmpl/opac-tmpl/bootstrap/js/script.js (-2 / +68 lines)
Lines 63-66 $(document).ready(function(){ Link Here
63
            $("#members").removeAttr("style");
63
            $("#members").removeAttr("style");
64
        }
64
        }
65
    });
65
    });
66
});
66
});
67
68
    //JQuery for Dublin Core Exporter
69
    $(document).ready(function(){
70
        $("#input-simple").click(function(){
71
            $(".rdfoptions").removeAttr("disabled");
72
            $(".xmloptions").attr("disabled","disabled");
73
            $("#dc-rdf").toggle();
74
            $("#dc-xml").hide();
75
        });
76
    });
77
78
    $(document).ready(function(){
79
        $("#input-rdf").click(function(){
80
            $(".rdfoptions").removeAttr("disabled");
81
            $(".xmloptions").attr("disabled","disabled");
82
            $("#dc-rdf").toggle();
83
            $("#dc-xml").hide();
84
        });
85
    });
86
87
    $(document).ready(function(){
88
        $("#input-xml").click(function(){
89
            $(".xmloptions").removeAttr("disabled");
90
            $(".rdfoptions").attr("disabled","disabled");
91
                if($("#root_checked").is(':checked')){
92
                    $("#root_value").removeAttr("disabled");
93
                } else {
94
                    $("#root_value").attr("disabled","disabled");
95
                }
96
                if($("#schema_checked").is(':checked')){
97
                    $("#schema_value").removeAttr("disabled");
98
                } else {
99
                    $("#schema_value").attr("disabled","disabled");
100
                }
101
                $("#dc-xml").toggle();
102
                $("#dc-rdf").hide();
103
        });
104
    });
105
106
    $(document).ready(function(){
107
        $("#root_checked").click(function(){
108
            if($("#root_checked").is(':checked')){
109
                $("#root_value").removeAttr("disabled");
110
            } else {
111
                $("#root_value").attr("disabled","disabled");
112
            }
113
        });
114
    });
115
116
    $(document).ready(function(){
117
        $("#schema_checked").click(function(){
118
            if($("#schema_checked").is(':checked')){
119
                $("#schema_value").removeAttr("disabled");
120
            } else {
121
                $("#schema_value").attr("disabled","disabled");
122
            }
123
        });
124
    });
125
126
    $(document).ready(function(){
127
        $("#input-oai").click(function(){
128
            $(".rdfoptions").attr("disabled","disabled");
129
            $(".xmloptions").attr("disabled","disabled");
130
            $("#dc-rdf").hide();
131
            $("#dc-xml").hide();
132
        });
133
    });
67
- 

Return to bug 13642