diff test_create/test_core.js @ 2875:18261c4593c4

Open exported XML in new tab, not same tab
author Nicholas Jillings <nicholas.jillings@mail.bcu.ac.uk>
date Wed, 31 May 2017 11:43:48 +0100
parents d5e7f45b15e7
children 88dff8b9247c
line wrap: on
line diff
--- a/test_create/test_core.js	Tue May 09 16:17:07 2017 +0100
+++ b/test_create/test_core.js	Wed May 31 11:43:48 2017 +0100
@@ -103,7 +103,7 @@
             type: 'application/xml'
         });
         var dnlk = window.URL.createObjectURL(bb);
-        window.location.href = dnlk;
+        $w.open(dnlk, "_blank");
     };
 }]);