aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/attach_edit.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'view/tpl/attach_edit.tpl')
-rw-r--r--view/tpl/attach_edit.tpl9
1 files changed, 5 insertions, 4 deletions
diff --git a/view/tpl/attach_edit.tpl b/view/tpl/attach_edit.tpl
index fa6f8914f..f9c6e96ce 100644
--- a/view/tpl/attach_edit.tpl
+++ b/view/tpl/attach_edit.tpl
@@ -22,10 +22,11 @@
</div>
{{else}}
<div class="cut-paste-desc">{{$cpdesc}}</div>
-<div id="cut-paste-link">
-<input type="text" id="cutpasteinput" name="cutpastelink" value="[attachment]{{$file.hash}},{{$file.revision}}[/attachment]" />
-<script>$('#cutpasteinput').select();</script>
-</div>
+<input type="text" id="cutpasteinput" name="cutpastelink" value="[attachment]{{$file.hash}},{{$file.revision}}[/attachment]" onclick="this.select();" /><br />
+
+<div class="cut-paste-desc">{{$cpldesc}}</div>
+<input type="text" id="linkpasteinput" name="cutpasteextlink" value="{{$cloudpath}}" onclick="this.select();"/><br />
+
{{/if}}
<div id="attach-edit-perms" >