mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-12-19 23:13:51 +01:00
- LSdefault :: LSdebug
-> Modification de LSdebugHidden (a -> span) -> Lors d'un double clic sur la fenetre de debug -> fermeture - LSattribute : Correction de la méthode getFormVal()
This commit is contained in:
parent
f8b0a443db
commit
ea15514109
4 changed files with 6 additions and 5 deletions
|
@ -338,7 +338,7 @@ class LSattribute {
|
|||
*/
|
||||
function getFormVal() {
|
||||
$data=$this -> getDisplayValue();
|
||||
if((!is_array($data))&&($data!=NULL)) {
|
||||
if(!is_array($data)) {
|
||||
$data=array($data);
|
||||
}
|
||||
return $data;
|
||||
|
|
|
@ -1,11 +1,12 @@
|
|||
var LSdefault = new Class({
|
||||
initialize: function(){
|
||||
this.LSdebug = $('LSdebug');
|
||||
this.LSdebug.addEvent('dblclick',this.LSdebugHidde.bind(this));
|
||||
this.LSdebugInfos = $('LSdebug_infos');
|
||||
this.LSdebug.setOpacity(0);
|
||||
|
||||
this.LSdebugHidden = $('LSdebug_hidden');
|
||||
this.LSdebugHidden.addEvent('click',this.onLSdebugHiddenClick.bindWithEvent(this));
|
||||
this.LSdebugHidden.addEvent('click',this.LSdebugHidde.bind(this));
|
||||
|
||||
this.LSerror = $('LSerror');
|
||||
this.LSerror.setOpacity(0);
|
||||
|
@ -51,8 +52,7 @@ var LSdefault = new Class({
|
|||
$('LSsession_topDn_form').submit();
|
||||
},
|
||||
|
||||
onLSdebugHiddenClick: function(event){
|
||||
new Event(event).stop();
|
||||
LSdebugHidde: function(){
|
||||
this.fx.LSdebug.start(0.8,0);
|
||||
},
|
||||
|
||||
|
|
|
@ -37,6 +37,7 @@
|
|||
color: #fff;
|
||||
text-decoration: none;
|
||||
font-weight: bold;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
#LSinfos {
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
{$LSerrors}
|
||||
</div>
|
||||
<div id='LSdebug'>
|
||||
<a href='#' id='LSdebug_hidden'>X</a>
|
||||
<span id='LSdebug_hidden'>X</span>
|
||||
<div id='LSdebug_infos'>{if $LSdebug != ''}{$LSdebug}{/if}</div>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in a new issue