Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions plugin.ini
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[info]
name="Item Relations"
author="Roy Rosenzweig Center for History and New Media"
description="Allows administrators to define relations between items."
link="https://omeka.org/codex/Plugins/ItemRelations_2.0"
support_link="https://omeka.org/forums/forum/plugins"
name="Item Relations Plus"
author="Roy Rosenzweig Center for History and New Media, improved by GerZah and Daniel Berthereau"
description="Allows administrators to define relations between items via an interactive UI."
link="https://github.com/GerZah/plugin-ItemRelations"
support_link="https://github.com/GerZah/plugin-ItemRelations/issues"
license="GPLv3"
omeka_minimum_version="2.0"
omeka_target_version="2.4"
version="2.0.2.2"
omeka_target_version="2.5"
version="2.0.3"
tags="item,relation,rdf"
4 changes: 2 additions & 2 deletions views/shared/common/item-relations-form.php
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@
</div>
<div class="inputs nine columns omega">
<?php echo $this->formSelect('new_relation_object_item_type_id',
null, array('multiple' => false), array()); ?>
'', array('multiple' => false), array('' => '')); ?>
</div>
</div>

Expand All @@ -198,7 +198,7 @@
</div>
<div class="inputs nine columns omega">
<?php echo $this->formSelect('new_relation_object_collection_id',
null, array('multiple' => false), array()); ?>
'', array('multiple' => false), array('' => '')); ?>
</div>
</div>

Expand Down
6 changes: 3 additions & 3 deletions views/shared/javascripts/item-relations.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jQuery(document).ready(function () {
$('#object_title').html('<i>' + itemRelationsSearchAndSelect + '</i>');
$('#new_relation_property_id').val('');
$('#relation_comment').val('');
$('#new_relation_object_item_type_id').val(-1);
$('#new_relation_object_item_type_id').val('');
$('#new_relation_object_collection_id').val('');
$('#partial_object_title').val('');
$('#id_limit').val('');
Expand All @@ -40,9 +40,9 @@ jQuery(document).ready(function () {

function updateChoices() {
if (updateTimer != null) {
clearTimeout(updateTimer);
clearTimeout(updateTimer);
}
updateTimer = setTimeout(updateChoicesCore, 1000);
updateTimer = setTimeout(updateChoicesCore, 1000);
}

function updateChoicesCore() {
Expand Down