svn commit: samba r21852 - in branches/SAMBA_4_0/webapps/swat/source/class/swat/module/netmgr: .

derrell at samba.org derrell at samba.org
Fri Mar 16 02:52:34 GMT 2007


mimir at samba.org writes:

> +	if (typeof(parentNode.credentials) == "object")
> +	{
> +	  var creds = parentNode.credentials;
> +	  var request = _this.callRpc("samba.ejsnet", "NetContext", [ creds ]);
> +	  request.setUserData("requestType", "NetContext");
> +	}
> +	else
> +	{
> +	  // TODO: display a login dialog
> +	}
> +      }
> +      
> +    });

I'm not sure what you're doing here, but login is handled automatically for
all of the modules.  Either you don't understand the SWAT framework and its
standard capabilities, or (more likely) I just don't understand what you're
doing here.  If I'm off base, just tell me to shut up. :-)

Derrell


More information about the samba-technical mailing list