Roundup Tracker - Issues

Message6102

Author rouilj
Recipients rouilj
Date 2018-07-07.22:39:44
Message-id <1531003184.96.0.56676864532.issue2550964@psf.upfronthosting.co.za>
In-reply-to
Realised that tal code is calling a function that I added to my
extensions/template.py file.

Add:

def set_form_wins(client,value):
    '''set client's form_wins attribute to the boolean value
       passed in.
    '''
    client.form_wins=value

to the file and add:

    instance.registerUtil('set_form_wins', set_form_wins)

to the init() function in the file.
History
Date User Action Args
2018-07-07 22:39:44rouiljsetmessageid: <1531003184.96.0.56676864532.issue2550964@psf.upfronthosting.co.za>
2018-07-07 22:39:44rouiljsetrecipients: + rouilj
2018-07-07 22:39:44rouiljlinkissue2550964 messages
2018-07-07 22:39:44rouiljcreate