@@ -70,3 +70,12 @@ function(){
return null;
return this.roleSelect.value;
}
+
+crfRoleSelector.setRoleAndSite=
+function(roleAndSite,cb=null){
+ if (!roleAndSite) return;
+ this.roleSelect.value=roleAndSite;
+ if (cb) cb();
+}