diff --git a/panels/dashcontrol/load.html b/panels/dashcontrol/load.html
index 34dc7335524..bcff6188bb7 100644
--- a/panels/dashcontrol/load.html
+++ b/panels/dashcontrol/load.html
@@ -1,5 +1,6 @@
×
+
Load
diff --git a/panels/dashcontrol/module.html b/panels/dashcontrol/module.html
index bf02f5e51fe..246e0791294 100644
--- a/panels/dashcontrol/module.html
+++ b/panels/dashcontrol/module.html
@@ -1,5 +1,5 @@
-
-
+
+
\ No newline at end of file
diff --git a/panels/dashcontrol/module.js b/panels/dashcontrol/module.js
index 2f62f5afdfd..7b38acc75c6 100644
--- a/panels/dashcontrol/module.js
+++ b/panels/dashcontrol/module.js
@@ -89,6 +89,15 @@ angular.module('kibana.dashcontrol', [])
}
}
+ $scope.share_link = function(title,type,id) {
+ $scope.share = {
+ location : location.href.replace(location.hash,""),
+ type : type,
+ id : id,
+ link : location.href.replace(location.hash,"")+"#dashboard/"+type+"/"+id
+ };
+ }
+
$scope.purge = function() {
if (Modernizr.localstorage) {
localStorage['dashboard'] = '';
diff --git a/panels/dashcontrol/save.html b/panels/dashcontrol/save.html
index dd1fe78c0cd..e0d2b6b7bff 100644
--- a/panels/dashcontrol/save.html
+++ b/panels/dashcontrol/save.html
@@ -1,5 +1,6 @@