summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorc00149107 <chenchuanyu@huawei.com>2017-04-20 16:43:24 +0800
committerc00149107 <chenchuanyu@huawei.com>2017-04-20 16:43:24 +0800
commit826ab3f8426b596627e03e4a31a18c37291b6b3d (patch)
treef9c7e3c086430d4923eb0f6bc165ac31361bbbe9
parent2d63ba7e668c2c976c1c2d60f2fa28f2f4881267 (diff)
Replace invalid id by valid id
Replace invalid id by valid id Change-Id: I064a7f6235b7d622077540a949cb17d261701cef Issue-ID:CLIENT-192 Signed-off-by: c00149107 <chenchuanyu@huawei.com>
-rw-r--r--lifecyclemgr/src/main/webapp/lifecyclemgr/js/DataService.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lifecyclemgr/src/main/webapp/lifecyclemgr/js/DataService.js b/lifecyclemgr/src/main/webapp/lifecyclemgr/js/DataService.js
index 85c7058b..65189e4e 100644
--- a/lifecyclemgr/src/main/webapp/lifecyclemgr/js/DataService.js
+++ b/lifecyclemgr/src/main/webapp/lifecyclemgr/js/DataService.js
@@ -365,7 +365,7 @@ function collectParamValue(identify, param) {
*/
function getParamId(identify, param) {
var tmpname = param.name.replace(/-/g, '_');
- var tmpname1 = tmpname.replace(/./g, '_');
+ var tmpname1 = tmpname.replace(/\./g, '_');
return '' ===identify ? tmpname1 : identify + '_' + tmpname1;
}