From c17f9224fad0f6a2f234d548d728ea3e48672884 Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Tue, 29 Jul 2008 15:44:28 +0000 Subject: [PATCH] =?UTF-8?q?-=20LSrelation=20:=20=20=20->=20Correction=20d'?= =?UTF-8?q?un=20bug=20dans=20l'affichage=20des=20objets=20en=20relations?= =?UTF-8?q?=20apr=C3=A8s=20un=20=20=20refresh=20Ajax=20=20=20->=20Le=20top?= =?UTF-8?q?Dn=20pour=20l'affichage=20des=20objets=20en=20relation=20est=20?= =?UTF-8?q?maintenant=20celui=20de=20=20=20tout=20l'annuaire=20(m=C3=A0j?= =?UTF-8?q?=20de=20la=20m=C3=A9thode=20LSeegroup::listUserGroups())=20-=20?= =?UTF-8?q?LSselect=20:=20=20=20->=20Correction=20d'un=20bug=20JS=20pour?= =?UTF-8?q?=20l'affichage=20des=20infos=20de=20debug=20&=20des=20erreurs?= =?UTF-8?q?=20=20=20=C3=A0=20l'ouverture.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- trunk/includes/class/class.LSobjects.LSeegroup.php | 2 +- trunk/includes/js/LSselect.js | 1 + trunk/index_ajax.php | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/trunk/includes/class/class.LSobjects.LSeegroup.php b/trunk/includes/class/class.LSobjects.LSeegroup.php index 1e58db26..7ec1a186 100644 --- a/trunk/includes/class/class.LSobjects.LSeegroup.php +++ b/trunk/includes/class/class.LSobjects.LSeegroup.php @@ -60,7 +60,7 @@ class LSeegroup extends LSldapObject { $dn = $userObject -> getDn(); $filter = $this -> getObjectFilter(); $filter = '(&'.$filter.'(uniqueMember='.$dn.'))'; - return $this -> listObjects($filter); + return $this -> listObjects($filter,$GLOBALS['LSsession'] -> ldapServer['ldap_config']['basedn'],array('scope' => 'sub')); } /** diff --git a/trunk/includes/js/LSselect.js b/trunk/includes/js/LSselect.js index 80a7cb52..71f04c93 100644 --- a/trunk/includes/js/LSselect.js +++ b/trunk/includes/js/LSselect.js @@ -21,6 +21,7 @@ var LSselect = new Class({ this.LSselect_refresh_btn.addEvent('click',this.onClickLSselect_refresh_btn.bind(this)); this.initializeContent(); + varLSdefault.ajaxDisplayDebugAndError(); }, initializeContent: function() { diff --git a/trunk/index_ajax.php b/trunk/index_ajax.php index dfc60f0e..e1aca1b5 100644 --- a/trunk/index_ajax.php +++ b/trunk/index_ajax.php @@ -182,7 +182,7 @@ if (!isset($_ERRORS)) { $list = $objRel -> $relationConf['list_function']($object); if (is_array($list)) { foreach($list as $o) { - $data['html'].= "
  • ".$o -> getDisplayValue()."
  • \n"; + $data['html'].= "
  • ".$o -> getDisplayValue(NULL,true)."
  • \n"; } } else {