diff options
author | Mario Vavti <mario@mariovavti.com> | 2015-04-12 15:01:06 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2015-04-12 15:01:06 +0200 |
commit | c6873529f47985da2bed92aed7c01af30133221d (patch) | |
tree | c087c07321a7bb0483d655ff0f708685166d1c22 /view/tpl/cloud_directory.tpl | |
parent | 70b109702ef20d0ebad027a98964ceae1fb216c3 (diff) | |
download | volse-hubzilla-c6873529f47985da2bed92aed7c01af30133221d.tar.gz volse-hubzilla-c6873529f47985da2bed92aed7c01af30133221d.tar.bz2 volse-hubzilla-c6873529f47985da2bed92aed7c01af30133221d.zip |
bring ajax delete to files
Diffstat (limited to 'view/tpl/cloud_directory.tpl')
-rw-r--r-- | view/tpl/cloud_directory.tpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/view/tpl/cloud_directory.tpl b/view/tpl/cloud_directory.tpl index 77d861224..c1d03da83 100644 --- a/view/tpl/cloud_directory.tpl +++ b/view/tpl/cloud_directory.tpl @@ -26,7 +26,7 @@ <td class="cloud-index-tool">{{$item.attachIcon}}</td> <td id="file-edit-{{$item.attachId}}" class="cloud-index-tool"></td> <td class="cloud-index-tool"><i class="fakelink icon-pencil" onclick="filestorage(event, '{{$nick}}', {{$item.attachId}});"></i></td> - <td class="cloud-index-tool"><a href="{{$item.fileStorageUrl}}/{{$item.attachId}}/delete" title="{{$delete}}" onclick="return confirmDelete();"><i class="icon-trash drop-icons"></i></a></td> + <td class="cloud-index-tool"><a href="#" title="{{$delete}}" onclick="dropItem('{{$item.fileStorageUrl}}/{{$item.attachId}}/delete', '#cloud-index-{{$item.attachId}},#cloud-tools-{{$item.attachId}}'); return false;"><i class="icon-trash drop-icons"></i></a></td> {{else}} <td></td><td></td><td></td><td></td> @@ -35,7 +35,7 @@ <td class="hidden-xs">{{$item.sizeFormatted}}</td> <td class="hidden-xs">{{$item.lastmodified}}</td> </tr> - <tr> + <tr id="cloud-tools-{{$item.attachId}}"> <td id="perms-panel-{{$item.attachId}}" colspan="9"></td> </tr> {{/foreach}} |