fixed problem with plugin delete, thanks Alan

This commit is contained in:
mdipierro
2012-08-19 15:11:04 -05:00
parent 24fc4bf9d4
commit e097adc783
2 changed files with 2 additions and 2 deletions

View File

@@ -1 +1 @@
Version 2.00.0 (2012-08-19 15:02:35) dev
Version 2.00.0 (2012-08-19 15:11:01) dev

View File

@@ -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}}