Update upload.jet.html
Cette révision appartient à :
Parent
1f81502ca6
révision
f19d42cd59
1 fichiers modifiés avec 3 ajouts et 3 suppressions
|
@ -161,9 +161,9 @@
|
||||||
<p>{{ T("description_markdown_notice")}}</p>
|
<p>{{ T("description_markdown_notice")}}</p>
|
||||||
<textarea name="desc" id="desc" class="form-input up-input" style="height: 10rem;">{{Form.Description}}</textarea>
|
<textarea name="desc" id="desc" class="form-input up-input" style="height: 10rem;">{{Form.Description}}</textarea>
|
||||||
|
|
||||||
<h3 id="tah-h3">{{ T("torrent_tags")}}</h3>
|
<h3 id="tag-h3" style="display:none;">{{ T("torrent_tags")}}</h3>
|
||||||
<span id="tags_list"></span>
|
<span id="tags_list"></span>
|
||||||
<a id="tagPopup" href="#" class="add-tag">{{ T("add") }}</a>
|
<a id="tagPopup" href="#" class="add-tag" style="display:none;">>{{ T("add") }}</a>
|
||||||
<input type="hidden" name="tags" id="tags" value="{{ Form.Tags }}">
|
<input type="hidden" name="tags" id="tags" value="{{ Form.Tags }}">
|
||||||
{{ yield errors(name="tags")}}
|
{{ yield errors(name="tags")}}
|
||||||
<div style="width: 240px">
|
<div style="width: 240px">
|
||||||
|
@ -218,7 +218,7 @@ Modal.Init({
|
||||||
// order of apparition of the modals
|
// order of apparition of the modals
|
||||||
button: "#tagPopup"
|
button: "#tagPopup"
|
||||||
});
|
});
|
||||||
document.getElementById("tags_list").style.display = "initial";
|
document.getElementById("add-tag").style.display = "initial";
|
||||||
document.getElementById("tag-h3").style.display = "initial";
|
document.getElementById("tag-h3").style.display = "initial";
|
||||||
var tags = []
|
var tags = []
|
||||||
document.querySelector("#modal_tag_form form").addEventListener("submit", function(e) {
|
document.querySelector("#modal_tag_form form").addEventListener("submit", function(e) {
|
||||||
|
|
Référencer dans un nouveau ticket