Last change
on this file since 27257 was 27014, checked in by ak19, 11 years ago |
First commit for Dspace Depositor Clone (Institutional Repository) containing minor updates to Dr Bainbridge's code used in puka's custom gsdl-instrep installation (ir collection). The files in this commit work if you use the ds metadata set in your collection (DSpace might not use such a metadata set, and it might have been invented for the gsdl-instrep's ir collection). Turn this depositor on by replacing depositor.dm with depositdspace.dm in etc/main.cfg and depositing to a collection using a custom ds metadata set containing Title, Type, Language, Abstract, Sponsorship, Description, Author, Series, Identifier, Subject.
|
File size:
385 bytes
|
Line | |
---|
1 | var xmlhttp
|
---|
2 | /*@cc_on @*/
|
---|
3 | /*@if (@_jscript_version >= 5)
|
---|
4 | try {
|
---|
5 | xmlhttp=new ActiveXObject("Msxml2.XMLHTTP")
|
---|
6 | } catch (e) {
|
---|
7 | try {
|
---|
8 | xmlhttp=new ActiveXObject("Microsoft.XMLHTTP")
|
---|
9 | } catch (E) {
|
---|
10 | xmlhttp=false
|
---|
11 | }
|
---|
12 | }
|
---|
13 | @else
|
---|
14 | xmlhttp=false
|
---|
15 | @end @*/
|
---|
16 | if (!xmlhttp && typeof XMLHttpRequest!='undefined') {
|
---|
17 | try {
|
---|
18 | xmlhttp = new XMLHttpRequest();
|
---|
19 | } catch (e) {
|
---|
20 | xmlhttp=false
|
---|
21 | }
|
---|
22 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.