Skip to content

Commit

Permalink
Switch order and default option from RDF/XML to Turtle, in RDF Import…
Browse files Browse the repository at this point in the history
… form
  • Loading branch information
samuell committed Nov 27, 2016
1 parent 159bc7b commit 2ed98b1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions specials/SpecialRDFImport_body.php
Original file line number Diff line number Diff line change
Expand Up @@ -257,8 +257,8 @@ function showDataFields() {
<td style="width: 100px;">Data format:</td>
<td>
<select id="dataformat" name="dataformat">
<option value="rdfxml" selected="selected">RDF/XML</option>
<option value="turtle">Turtle</option>
<option value="turtle" selected="selected">Turtle</option>
<option value="rdfxml">RDF/XML</option>
</select>
</td>
<td style="text-align: right; font-size: 10px;">
Expand Down Expand Up @@ -288,14 +288,14 @@ function pasteExampleRDFXMLData(textFieldId) {
var textfield = document.getElementById(textFieldId);
var exampledata = "' . $this->getExampleRDFXMLData() . '";
textfield.value = exampledata;
document.getElementById("dataformat").options[0].selected = true;
document.getElementById("dataformat").options[1].selected = true;
}
function pasteExampleTurtleData(textFieldId) {
var textfield = document.getElementById(textFieldId);
var exampledata = "' . $this->getExampleTurtleData() . '";
textfield.value = exampledata;
document.getElementById("dataformat").options[1].selected = true;
document.getElementById("dataformat").options[0].selected = true;
}
function addSourcesToMenu() {
Expand Down

0 comments on commit 2ed98b1

Please sign in to comment.