diff options
-rw-r--r-- | lifecyclemgr/src/main/webapp/lifecyclemgr/js/DataService.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lifecyclemgr/src/main/webapp/lifecyclemgr/js/DataService.js b/lifecyclemgr/src/main/webapp/lifecyclemgr/js/DataService.js index f2ff5483..85c7058b 100644 --- a/lifecyclemgr/src/main/webapp/lifecyclemgr/js/DataService.js +++ b/lifecyclemgr/src/main/webapp/lifecyclemgr/js/DataService.js @@ -364,7 +364,9 @@ function collectParamValue(identify, param) { * @returns
*/
function getParamId(identify, param) {
- return '' ===identify ? param.name : identify + '_' + param.name;
+ var tmpname = param.name.replace(/-/g, '_');
+ var tmpname1 = tmpname.replace(/./g, '_');
+ return '' ===identify ? tmpname1 : identify + '_' + tmpname1;
}
/**
|