diff --git a/trunk/includes/class/class.LSformElement_mail.php b/trunk/includes/class/class.LSformElement_mail.php
index ae88fd96..7bf7848a 100644
--- a/trunk/includes/class/class.LSformElement_mail.php
+++ b/trunk/includes/class/class.LSformElement_mail.php
@@ -80,7 +80,7 @@ class LSformElement_mail extends LSformElement {
*/
function getEmptyField() {
$multiple = $this -> getMultipleData();
- return "".$multiple;
+ return "".$multiple;
}
}
diff --git a/trunk/includes/class/class.LSformElement_rss.php b/trunk/includes/class/class.LSformElement_rss.php
index a1ce75ca..f5c5e73c 100644
--- a/trunk/includes/class/class.LSformElement_rss.php
+++ b/trunk/includes/class/class.LSformElement_rss.php
@@ -80,7 +80,7 @@ class LSformElement_rss extends LSformElement {
*/
function getEmptyField() {
$multiple = $this -> getMultipleData();
- return "".$multiple;
+ return "".$multiple;
}
}
diff --git a/trunk/includes/class/class.LSformElement_xmpp.php b/trunk/includes/class/class.LSformElement_xmpp.php
index 24f11094..f0e4bd80 100644
--- a/trunk/includes/class/class.LSformElement_xmpp.php
+++ b/trunk/includes/class/class.LSformElement_xmpp.php
@@ -80,7 +80,7 @@ class LSformElement_xmpp extends LSformElement {
*/
function getEmptyField() {
$multiple = $this -> getMultipleData();
- return "".$multiple;
+ return "".$multiple;
}
}
diff --git a/trunk/includes/js/LSformElement_mail.js b/trunk/includes/js/LSformElement_mail.js
index 87f88efb..79f8c24f 100644
--- a/trunk/includes/js/LSformElement_mail.js
+++ b/trunk/includes/js/LSformElement_mail.js
@@ -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;
}
}
diff --git a/trunk/includes/js/LSformElement_xmpp.js b/trunk/includes/js/LSformElement_xmpp.js
index 8674822f..a79ba46f 100644
--- a/trunk/includes/js/LSformElement_xmpp.js
+++ b/trunk/includes/js/LSformElement_xmpp.js
@@ -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;
}
}