Miscellaneous minor updates
This commit is contained in:
@@ -112,10 +112,10 @@ function includeHTML(component,html) {
|
||||
if (scripts[i].attributes.length > 0) {
|
||||
for (var j in scripts[i].attributes) {
|
||||
if (typeof(scripts[i].attributes[j]) != 'undefined'
|
||||
&& typeof(scripts[i].attributes[j].nodeName) != 'undefined'
|
||||
&& scripts[i].attributes[j].nodeValue != null
|
||||
&& scripts[i].attributes[j].nodeValue != '') {
|
||||
scriptclone.setAttribute(scripts[i].attributes[j].nodeName,scripts[i].attributes[j].nodeValue);
|
||||
&& typeof(scripts[i].attributes[j].nodeName) != 'undefined'
|
||||
&& scripts[i].attributes[j].nodeValue != null
|
||||
&& scripts[i].attributes[j].nodeValue != '') {
|
||||
scriptclone.setAttribute(scripts[i].attributes[j].nodeName,scripts[i].attributes[j].nodeValue);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -30,7 +30,7 @@ if (get_request('purge','REQUEST')) {
|
||||
$entry = $tree->getEntry($value);
|
||||
}
|
||||
|
||||
$tree->readChildren($value);
|
||||
$tree->readChildren($value,true);
|
||||
$entry->open();
|
||||
}
|
||||
|
||||
|
@@ -110,7 +110,7 @@ if (count($request['template']->getLDAPmodify(true))) {
|
||||
$input_disabled = '';
|
||||
$input_onclick = '';
|
||||
|
||||
if ($attribute->isForceDelete() || in_array($attribute->getName(),$mustattrs))
|
||||
if ($attribute->isForceDelete() || (in_array($attribute->getName(),$mustattrs)) && $request['template']->getAttribute('objectclass')->justModified())
|
||||
$input_disabled = 'disabled="disabled"';
|
||||
|
||||
if ($attribute->getName() == 'objectclass') {
|
||||
|
Reference in New Issue
Block a user