diff options
-rw-r--r-- | extensions/MyDashboard/web/js/flags.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/extensions/MyDashboard/web/js/flags.js b/extensions/MyDashboard/web/js/flags.js index 9c4da50dc..2498ba8ae 100644 --- a/extensions/MyDashboard/web/js/flags.js +++ b/extensions/MyDashboard/web/js/flags.js @@ -93,7 +93,10 @@ YUI({ }; var flagNameFormatter = function (o) { - if (o.data.attach_id && o.data.is_patch && MyDashboard.splinter_base) { + if (parseInt(o.data.attach_id) + && parseInt(o.data.is_patch) + && MyDashboard.splinter_base) + { return '<a href="' + MyDashboard.splinter_base + (MyDashboard.splinter_base.indexOf('?') == -1 ? '?' : '&') + 'bug=' + encodeURIComponent(o.data.bug_id) + |