From 7fd913b143b506adaa0c841384e7dfd6efcfc8ea Mon Sep 17 00:00:00 2001
From: juanf <juanf>
Date: Wed, 8 Jun 2016 12:10:40 +0000
Subject: [PATCH] SSDM-3632 : Message to use showError instead of window.alert

SVN: 36653
---
 .../eln-lims/html/js/views/SampleTable/SampleTableController.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/SampleTable/SampleTableController.js b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/SampleTable/SampleTableController.js
index e6da480ed72..0246f7a2b40 100644
--- a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/SampleTable/SampleTableController.js
+++ b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/SampleTable/SampleTableController.js
@@ -91,7 +91,7 @@ function SampleTableController(parentController, title, experimentIdentifier, pr
 				var grid = dataGridController._grid;
 				var selected = grid.getSelected();
 				if(selected != undefined && selected.length == 0){
-					alert("Please select at least one sample to delete!");
+					Util.showError("Please select at least one sample to delete!");
 				} else {
 					var warningText = "The next samples will be deleted: ";
 					var sampleTechIds = [];
-- 
GitLab