mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-12-18 14:33:49 +01:00
- LSformElement_mail & LSformElement_rss & LSformElement_xmpp :
-> Correction d'erreurs d'affichage - LSformElement_mail.js & LSformElement_xmpp.js : -> Correction d'erreurs de comportement au clique sur les boutons
This commit is contained in:
parent
764cf6c20a
commit
2e67cd7361
5 changed files with 5 additions and 5 deletions
|
@ -80,7 +80,7 @@ class LSformElement_mail extends LSformElement {
|
|||
*/
|
||||
function getEmptyField() {
|
||||
$multiple = $this -> getMultipleData();
|
||||
return "<input type='text' name='".$this -> name."[]' id='LSform_".$this -> name."_".rand()."'><img src='templates/images/go.png' class='LSformElement_mail_btn btn' alt='"._('Envoyer un mail.')."' title='"._('Envoyer un mail.')."'/>".$multiple;
|
||||
return "<input type='text' name='".$this -> name."[]' id='LSform_".$this -> name."_".rand()."'><img src='templates/images/mail.png' class='LSformElement_mail_btn btn' alt='"._('Envoyer un mail.')."' title='"._('Envoyer un mail.')."'/>".$multiple;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -80,7 +80,7 @@ class LSformElement_rss extends LSformElement {
|
|||
*/
|
||||
function getEmptyField() {
|
||||
$multiple = $this -> getMultipleData();
|
||||
return "<input type='text' name='".$this -> name."[]' id='LSform_".$this -> name."_".rand()."'><img src='templates/images/go.png' class='LSformElement_rss_btn btn' alt='"._('Afficher la file RSS.')."' title='"._('Afficher la file RSS.')."'/>".$multiple;
|
||||
return "<input type='text' name='".$this -> name."[]' id='LSform_".$this -> name."_".rand()."'><img src='templates/images/rss.png' class='LSformElement_rss_btn btn' alt='"._('Afficher la file RSS.')."' title='"._('Afficher la file RSS.')."'/>".$multiple;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -80,7 +80,7 @@ class LSformElement_xmpp extends LSformElement {
|
|||
*/
|
||||
function getEmptyField() {
|
||||
$multiple = $this -> getMultipleData();
|
||||
return "<input type='text' name='".$this -> name."[]' id='LSform_".$this -> name."_".rand()."'><img src='templates/images/go.png' class='LSformElement_xmpp_btn btn' alt='"._('Dialoguer')."' title='"._('Dialoguer')."'/>".$multiple;
|
||||
return "<input type='text' name='".$this -> name."[]' id='LSform_".$this -> name."_".rand()."'><img src='templates/images/xmpp.png' class='LSformElement_xmpp_btn btn' alt='"._('Dialoguer')."' title='"._('Dialoguer')."'/>".$multiple;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@ var LSformElement_mail = new Class({
|
|||
if (typeof(href)=="undefined") {
|
||||
href = 'mailto:'+btn.getParent().getFirst().value;
|
||||
}
|
||||
if (href!="") {
|
||||
if ((href!="")&&(href!="mailto:")) {
|
||||
location.href = href;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -24,7 +24,7 @@ var LSformElement_xmpp = new Class({
|
|||
if (typeof(href)=="undefined") {
|
||||
href = 'xmpp:'+btn.getParent().getFirst().value;
|
||||
}
|
||||
if (href!="") {
|
||||
if ((href!="")&&(href!="xmpp:")) {
|
||||
location.href = href;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue