You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In all .html files the oneditprepare event handler can be used to set a handler for the change events of the #node-input-configName can be used to pre-fill the #node-input-baseDN
Somethng like:
oneditprepare: function() {
$("#node-input-configName").change(function() {
if ( <CONNECTION CHANGED> && <#node-inputbaseDN IS EMPTY>) {
// Lookup Base-DN with getRootDSE
...
$(#node-input-baseDN).val(rootDse);
}
});
}
It would be a nice enhancement to pre-fill the
Base-DNautomatically with a lookup for the connection.The
Base-DNfor the connection can be looked up with the methodgetRootDSEin theactivedirectory2package. See https://www.npmjs.com/package/activedirectory2#getRootDSEIn all .html files the
oneditprepareevent handler can be used to set a handler for thechangeevents of the#node-input-configNamecan be used to pre-fill the#node-input-baseDNSomethng like: