fixed problem with plugin delete, thanks Alan
This commit is contained in:
1 parent
1fa2b5ad28
commit
b163ddca76
2 files changed
+2
-2
No files matched your search
@@ -29,7 +29,7 @@ def file_create_form(location):
|
||||
INPUT(_type="submit",_value=T("submit")),_action=URL('create_file'))
|
||||
return form
|
||||
def deletefile(arglist):
|
||||
return A(TAG[''](IMG(_src=URL('static', 'images/delete_icon.png')), SPAN(T('Delete this file (you will be asked to confirm deletion)'))), _class='icon delete tooltip', _href=URL('delete',args=arglist,vars=dict(sender=request.function+'/'+app)))
|
||||
return A(TAG[''](IMG(_src=URL('static', 'images/delete_icon.png')), SPAN(T('Delete this file (you will be asked to confirm deletion)'))), _class='icon delete tooltip', _href=URL('delete',args=arglist,vars=dict(sender=request.function+'/'+app+'/'+request.args[1])))
|
||||
}}
|
||||
|
||||
{{block sectionclass}}plugin{{end}}
|
||||
|
||||
Reference in new issue
Block a user