Bugzilla – Attachment 35639 Details for
Bug 13642
Adding new features for Dublin Core metadata
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 13642 [ENH] Adding new features for Dublin Core metadata #3/9
0005-Bug-13642-ENH-Adding-new-features-for-Dublin-Core-me.patch (text/plain), 3.17 KB, created by
Héctor Eduardo Castro Avalos
on 2015-01-30 19:50:09 UTC
(
hide
)
Description:
Bug 13642 [ENH] Adding new features for Dublin Core metadata #3/9
Filename:
MIME Type:
Creator:
Héctor Eduardo Castro Avalos
Created:
2015-01-30 19:50:09 UTC
Size:
3.17 KB
patch
obsolete
>From 13b453f7b1b9b128b80362c050e8ebf56ac91525 Mon Sep 17 00:00:00 2001 >From: Hector Castro <hector.hecaxmmx@gmail.com> >Date: Fri, 30 Jan 2015 11:07:12 -0600 >Subject: [PATCH 05/11] Bug 13642 [ENH] Adding new features for Dublin Core > metadata New lines in script.js for OPAC > >- New functions of jquery for Dublin Core Modal >--- > koha-tmpl/opac-tmpl/bootstrap/js/script.js | 69 +++++++++++++++++++++++++++- > 1 file changed, 68 insertions(+), 1 deletion(-) > mode change 100644 => 100755 koha-tmpl/opac-tmpl/bootstrap/js/script.js > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/js/script.js b/koha-tmpl/opac-tmpl/bootstrap/js/script.js >old mode 100644 >new mode 100755 >index de8401b..c4fa255 >--- a/koha-tmpl/opac-tmpl/bootstrap/js/script.js >+++ b/koha-tmpl/opac-tmpl/bootstrap/js/script.js >@@ -63,4 +63,71 @@ $(document).ready(function(){ > $("#members").removeAttr("style"); > } > }); >-}); >\ No newline at end of file >+}); >+ >+ //JQuery for Dublin Core Exporter >+ $(document).ready(function(){ >+ $("#input-simple").click(function(){ >+ $(".rdfoptions").removeAttr("disabled"); >+ $(".xmloptions").attr("disabled","disabled"); >+ $("#dc-rdf").toggle(); >+ $("#dc-xml").hide(); >+ }); >+ }); >+ >+ $(document).ready(function(){ >+ $("#input-rdf").click(function(){ >+ $(".rdfoptions").removeAttr("disabled"); >+ $(".xmloptions").attr("disabled","disabled"); >+ $("#dc-rdf").toggle(); >+ $("#dc-xml").hide(); >+ }); >+ }); >+ >+ $(document).ready(function(){ >+ $("#input-xml").click(function(){ >+ $(".xmloptions").removeAttr("disabled"); >+ $(".rdfoptions").attr("disabled","disabled"); >+ if($("#root_checked").is(':checked')){ >+ $("#root_value").removeAttr("disabled"); >+ } else { >+ $("#root_value").attr("disabled","disabled"); >+ } >+ if($("#schema_checked").is(':checked')){ >+ $("#schema_value").removeAttr("disabled"); >+ } else { >+ $("#schema_value").attr("disabled","disabled"); >+ } >+ $("#dc-xml").toggle(); >+ $("#dc-rdf").hide(); >+ }); >+ }); >+ >+ $(document).ready(function(){ >+ $("#root_checked").click(function(){ >+ if($("#root_checked").is(':checked')){ >+ $("#root_value").removeAttr("disabled"); >+ } else { >+ $("#root_value").attr("disabled","disabled"); >+ } >+ }); >+ }); >+ >+ $(document).ready(function(){ >+ $("#schema_checked").click(function(){ >+ if($("#schema_checked").is(':checked')){ >+ $("#schema_value").removeAttr("disabled"); >+ } else { >+ $("#schema_value").attr("disabled","disabled"); >+ } >+ }); >+ }); >+ >+ $(document).ready(function(){ >+ $("#input-oai").click(function(){ >+ $(".rdfoptions").attr("disabled","disabled"); >+ $(".xmloptions").attr("disabled","disabled"); >+ $("#dc-rdf").hide(); >+ $("#dc-xml").hide(); >+ }); >+ }); >-- >1.7.10.4 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 13642
:
35637
|
35638
|
35639
|
35640
|
35641
|
35642
|
35643
|
35644
|
35645
|
35663
|
35957
|
35981
|
35982
|
35983
|
35999
|
36000
|
36005
|
36006
|
36147
|
36154
|
36631
|
36632
|
36633
|
36636
|
36714
|
38220
|
38819
|
39623
|
39654
|
40786
|
40787
|
42168
|
43311
|
43313
|
43545
|
43548
|
43549
|
43586
|
43612
|
44627
|
44629
|
44658
|
44659
|
44660
|
44661
|
44662
|
44669
|
44672
|
44677
|
44727
|
44728
|
44729
|
44815
|
44816
|
44819
|
45970
|
45971
|
46514
|
46584
|
46585
|
46586
|
46587
|
46588