added a function to share on google plus. popcorn-port
authorhamidouk
Thu, 26 Jan 2012 13:01:57 +0100
branchpopcorn-port
changeset 720 08b8b3ce30e4
parent 719 f2aa75a4d848
child 721 0c53eba54b11
added a function to share on google plus.
src/js/utils.js
--- a/src/js/utils.js	Thu Jan 26 13:01:47 2012 +0100
+++ b/src/js/utils.js	Thu Jan 26 13:01:57 2012 +0100
@@ -149,7 +149,7 @@
 
 /** returns an url to share on google + */
 IriSP.mkGplusUrl = function(url, text) {
-  return "";
+  return "https://plusone.google.com/_/+1/confirm?hl=en&url=" + IriSP.shorten_url(url);
 };
 
 /** test if a value is null or undefined */