# HG changeset patch # User bsw # Date 1331841489 -3600 # Node ID 1dd1f2c2112c20190f6575673df9d91081163d7a # Parent abebe5e9ff78061493dc5c64610789a8c1d2442e Disable current member as delegatee in new delegation dialog diff -r abebe5e9ff78 -r 1dd1f2c2112c app/main/delegation/new.lua --- a/app/main/delegation/new.lua Thu Mar 15 20:56:13 2012 +0100 +++ b/app/main/delegation/new.lua Thu Mar 15 20:58:09 2012 +0100 @@ -162,6 +162,7 @@ disabled_records = {} disabled_records["_"] = true + disabled_records[app.session.member_id] = true ui.field.select{ label = _"Trustee",