diff --git a/trunk/includes/class/class.LSattribute.php b/trunk/includes/class/class.LSattribute.php index 253a2ee4..ac5f6fa4 100644 --- a/trunk/includes/class/class.LSattribute.php +++ b/trunk/includes/class/class.LSattribute.php @@ -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; diff --git a/trunk/includes/js/LSdefault.js b/trunk/includes/js/LSdefault.js index 8c54f94d..14cf8047 100644 --- a/trunk/includes/js/LSdefault.js +++ b/trunk/includes/js/LSdefault.js @@ -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); }, diff --git a/trunk/templates/css/LSdefault.css b/trunk/templates/css/LSdefault.css index c126356c..a9a2fe3b 100644 --- a/trunk/templates/css/LSdefault.css +++ b/trunk/templates/css/LSdefault.css @@ -37,6 +37,7 @@ color: #fff; text-decoration: none; font-weight: bold; + cursor: pointer; } #LSinfos { diff --git a/trunk/templates/top.tpl b/trunk/templates/top.tpl index 964854f2..1e9ff81b 100644 --- a/trunk/templates/top.tpl +++ b/trunk/templates/top.tpl @@ -18,7 +18,7 @@ {$LSerrors}
- X + X
{if $LSdebug != ''}{$LSdebug}{/if}