From bab5d529596c43ff4055b84e306cb03611d48116 Mon Sep 17 00:00:00 2001 From: Ramiro Saenz Date: Wed, 4 Oct 2017 16:15:08 -0300 Subject: [PATCH] Fixed Flowdock bug on click links Fixes #743 --- app/ux/WebView.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/app/ux/WebView.js b/app/ux/WebView.js index 0074d55a..c0a3849a 100644 --- a/app/ux/WebView.js +++ b/app/ux/WebView.js @@ -378,6 +378,13 @@ Ext.define('Rambox.ux.WebView',{ return; } break; + case 'flowdock': + if ( e.disposition === 'new-window' ) { + e.preventDefault(); + require('electron').shell.openExternal(e.url); + } + return; + break; default: break; }