plugins/libcalendaring
Thomas Brüderli
bruederli at kolabsys.com
Thu Oct 17 17:55:35 CEST 2013
plugins/libcalendaring/libcalendaring.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 5cd313f96d002eb755719895911ecfd213690b8e
Author: Thomas Bruederli <bruederli at kolabsys.com>
Date: Thu Oct 17 17:55:30 2013 +0200
Show full link in title attribute (hover)
diff --git a/plugins/libcalendaring/libcalendaring.js b/plugins/libcalendaring/libcalendaring.js
index ff111b3..fcee46e 100644
--- a/plugins/libcalendaring/libcalendaring.js
+++ b/plugins/libcalendaring/libcalendaring.js
@@ -286,10 +286,10 @@ function rcube_libcalendaring(settings)
var link_replace = function(matches, p1, p2) {
var title = '', text = p2;
if (p2.length > 55) {
- text = p2.substr(0, 45) + '...' + p2.substr(-8) : p2;
+ text = p2.substr(0, 45) + '...' + p2.substr(-8);
title = p1 + p2;
}
- return '<a href="'+p1+p2+'" class="extlink" target="_blank">'+p1+text+'</a>'
+ return '<a href="'+p1+p2+'" class="extlink" target="_blank" title="'+title+'">'+p1+text+'</a>'
};
return html
More information about the commits
mailing list