Because this.orgDefaultsToWs does not appear to be set, even though
po/create.js tries to set it, we want a sane default anyway.
Signed-off-by: Dan Scott <dscott@laurentian.ca>
if(this.widgetValue == null && this.orgDefaultsToWs)
this.widgetValue = user.user.ws_ou();
+
+ // this.orgDefaultsToWs seems to always be undefined, so
+ // fall back to a sane default
+ if (this.widgetValue == null) {
+ this.widgetValue = user.user.ws_ou();
+ }
// if we have a limit perm, find the relevent orgs (async)
if(this.orgLimitPerms && this.orgLimitPerms.length > 0) {