diff options
author | Struan Donald <struan@exo.org.uk> | 2013-05-31 18:21:37 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2013-05-31 18:21:37 +0100 |
commit | 50dbb1847c91c9a2aadc5704960da52b2abc7460 (patch) | |
tree | 05b5489dd827d6a0f5cfba56a4f8f0fafee5392c /www/js/app.js | |
parent | af963ca51d8ff73fd53a7cc071ad08de79edbc53 (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.js | 7 |
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; |