fixed problem with plugin delete, thanks Alan
This commit is contained in:
@@ -1 +1 @@
|
|||||||
Version 2.00.0 (2012-08-19 15:02:35) dev
|
Version 2.00.0 (2012-08-19 15:11:01) dev
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ def file_create_form(location):
|
|||||||
INPUT(_type="submit",_value=T("submit")),_action=URL('create_file'))
|
INPUT(_type="submit",_value=T("submit")),_action=URL('create_file'))
|
||||||
return form
|
return form
|
||||||
def deletefile(arglist):
|
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}}
|
{{block sectionclass}}plugin{{end}}
|
||||||
|
|||||||
Reference in New Issue
Block a user