Skip to content

Commit

Permalink
Warn that short URIs are not persistent
Browse files Browse the repository at this point in the history
  • Loading branch information
linkvt committed Jun 16, 2016
1 parent c71ead7 commit 8ea9cec
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 4 additions & 0 deletions src/main/web/app/Ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ export default class Ui {
Ui.displayUrl();
}
});
Ui.urlType.find("[data-value='short']").popup({
on: "click",
target: Ui.urlType
});
Ui.ontologyText.click(() => Ui.ontologyText.select());
}

Expand Down
3 changes: 1 addition & 2 deletions src/main/web/app/assets/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ <h1 class="ui header page">
<div class="ui doubling stackable grid">
<div class="four wide column">
<div id="format-dropdown" class="ui loading fluid selection dropdown">
<input type="hidden" name="gender">
<i class="dropdown icon"></i>

<div class="default text">Ontology Syntax</div>
Expand All @@ -75,7 +74,7 @@ <h1 class="ui header page">

<div class="menu">
<div class="item" data-value="long">Long URI</div>
<div class="item" data-value="short">Short URI</div>
<div class="item" data-value="short" data-content="Short URIs are NOT persistent but might be reset from time to time.">Short URI</div>
</div>
</div>
</div>
Expand Down

0 comments on commit 8ea9cec

Please sign in to comment.