aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-05-05 16:03:38 -0700
committerfriendica <info@friendica.com>2014-05-05 16:03:38 -0700
commit94b2ac6abb193452fd357e0bf609f6991ff8115a (patch)
treecf98f662926e019c8158c0e0231cde70f4f3bb99
parentcea62a0e733b6ce82f6ebd87d22a37ce639c10bc (diff)
downloadvolse-hubzilla-94b2ac6abb193452fd357e0bf609f6991ff8115a.tar.gz
volse-hubzilla-94b2ac6abb193452fd357e0bf609f6991ff8115a.tar.bz2
volse-hubzilla-94b2ac6abb193452fd357e0bf609f6991ff8115a.zip
put permissions dialog inside the form element - should fix issue #444
-rw-r--r--view/tpl/attach_edit.tpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/view/tpl/attach_edit.tpl b/view/tpl/attach_edit.tpl
index 3a4f0dd2a..68b44c65c 100644
--- a/view/tpl/attach_edit.tpl
+++ b/view/tpl/attach_edit.tpl
@@ -2,6 +2,8 @@
<h1>{{$header}}</h1>
+<form action="filestorage/{{$channelnick}}/{{$file.id}}/edit" method="post" >
+
<div id="attach-edit-perms" >
<button class="btn btn-default btn-sm" data-toggle="modal" data-target="#aclModal" title="{{$permset}}" onclick="return false;">
<i id="jot-perms-icon" class="icon-{{$lockstate}} jot-icons"></i>
@@ -9,8 +11,6 @@
{{$aclselect}} {{$file.filename}}
</div>
-<form action="filestorage/{{$channelnick}}/{{$file.id}}/edit" method="post" >
-
<input type="hidden" name="channelnick" value="{{$channelnick}}" />
<input type="hidden" name="filehash" value="{{$file.hash}}" />
<input type="hidden" name="uid" value="{{$uid}}" />