aboutsummaryrefslogtreecommitdiffstats
path: root/www/js/app.js
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2013-05-31 18:21:37 +0100
committerStruan Donald <struan@exo.org.uk>2013-05-31 18:21:37 +0100
commit50dbb1847c91c9a2aadc5704960da52b2abc7460 (patch)
tree05b5489dd827d6a0f5cfba56a4f8f0fafee5392c /www/js/app.js
parentaf963ca51d8ff73fd53a7cc071ad08de79edbc53 (diff)
clicking on pins to get more detail of report now works. Fixes #428
Diffstat (limited to 'www/js/app.js')
-rw-r--r--www/js/app.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/www/js/app.js b/www/js/app.js
index 06b9e88..3caba69 100644
--- a/www/js/app.js
+++ b/www/js/app.js
@@ -129,6 +129,13 @@ var tpl = {
localStorage.currentDraftID = null;
},
+ openExternal: function(e) {
+ e.preventDefault();
+ var el = $(e.srcElement);
+ window.open(el.attr('href'), '_system');
+ return false;
+ },
+
initialize: function () {
if ( this.initialized == 1 ) {
return this;