From ec389e27ceca0b0b0b43d82927cdaa2ad9e3f198 Mon Sep 17 00:00:00 2001 From: Francois Daoust Date: Mon, 2 Jul 2012 17:08:26 +0200 Subject: [PATCH] Used new JSON Form templating option to default tab title to ds name. The initial value is now {{values.datasources.main[]}}, meaning the field gets initialized to the name of the datasource. It is mostly useless when the tab is added from the template configuration page but that's less likely than automatically adding a datasource for the time being. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 980238b..718e27f 100755 --- a/package.json +++ b/package.json @@ -141,7 +141,7 @@ { "key": "tabs[]", "valueInLegend": true, - "value": "Tab {{idx}}" + "value": "{{values.datasources.main[]}}" }, { "title": "Tab data source",