From 0f1aeab87e43ee35694127de15761b6a079d67d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Mart=C3=ADn?= Date: Mon, 22 Jun 2015 18:47:44 +0200 Subject: [PATCH] Feature #3748: Fix DS datatable --- src/sunstone/public/app/tabs/datastores-tab/datatable.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/sunstone/public/app/tabs/datastores-tab/datatable.js b/src/sunstone/public/app/tabs/datastores-tab/datatable.js index f6a0749e7e..f7b20df2dc 100644 --- a/src/sunstone/public/app/tabs/datastores-tab/datatable.js +++ b/src/sunstone/public/app/tabs/datastores-tab/datatable.js @@ -95,6 +95,13 @@ define(function(require) { function _elementArray(element_json) { var element = element_json.DATASTORE; + var ds_type_str = "IMAGE_DS"; + + if (typeof element.TEMPLATE.TYPE != "undefined") + { + ds_type_str = element.TEMPLATE.TYPE; + } + return [ '