From 8d79fc4b4301b8da02b35c44342f4d837989c5e0 Mon Sep 17 00:00:00 2001
From: juanf <juanf>
Date: Mon, 12 May 2014 14:18:03 +0000
Subject: [PATCH] SSDM-178: ELN UI - Show open view title on browser tab title
 and open new tab.

SVN: 31488
---
 .../as/webapps/newbrowser/html/js/controllers/MainController.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plasmid/source/core-plugins/newbrowser/1/as/webapps/newbrowser/html/js/controllers/MainController.js b/plasmid/source/core-plugins/newbrowser/1/as/webapps/newbrowser/html/js/controllers/MainController.js
index 04dfe417d33..42b6e600580 100644
--- a/plasmid/source/core-plugins/newbrowser/1/as/webapps/newbrowser/html/js/controllers/MainController.js
+++ b/plasmid/source/core-plugins/newbrowser/1/as/webapps/newbrowser/html/js/controllers/MainController.js
@@ -166,7 +166,7 @@ function MainController(profile) {
 				this._showCreateSamplePage(arg);
 				break;
 			case "showEditSamplePage":
-				document.title = arg;
+				document.title = arg.code;
 				this._showEditSamplePage(arg);
 				break;
 			case "showViewExperiment":
-- 
GitLab