Fixed issue with undefined function updatePermissions() when using lookup widget.  Reported
https://groups.google.com/d/msg/xataface/E04K5RjCU98/3prgLEt5ZMoJ