Index: arms/js/pdServiceJira.js =================================================================== diff -u -rc9f72c57e4b01a906cfc49af7b6d0a4c6e290fcf -rdc2000a2f1ddaf3232f651a983fea1309b5c2696 --- arms/js/pdServiceJira.js (.../pdServiceJira.js) (revision c9f72c57e4b01a906cfc49af7b6d0a4c6e290fcf) +++ arms/js/pdServiceJira.js (.../pdServiceJira.js) (revision dc2000a2f1ddaf3232f651a983fea1309b5c2696) @@ -72,8 +72,8 @@ setdata_for_multiSelect();//멀티셀렉트 세팅 connect_pdservice_jira(); //제품서비스와 지라프로젝트 연결 실행 - init_versionList(); //버전 요소 생성 - downloadChartImage(); //차트 이미지 다운로드 + init_versionList(); //버전 요소 생성 + downloadChartImage(); //차트 이미지 다운로드 //d3Chart 그리기 $.getScript("./js/pdServiceVersion/initD3Chart.js").done(function (script, textStatus) { @@ -482,11 +482,13 @@ for (var k in data) { var obj = data[k]; var server_name = obj.c_jira_server_name; + var server_type = obj.c_jira_server_type; for(var p in data[k].jiraProjectEntities) { var obj2 = data[k].jiraProjectEntities[p]; var jira_name = obj2.c_jira_name; var jira_idx = obj2.c_id; - optionData.push(""); + optionData.push(""); + //optionData.push(""); } } Index: reference/jquery-plugins/lou-multi-select-0.9.12/js/jquery.multi-select.js =================================================================== diff -u -r7d71c7a58b249146e83897fcb49e36f11f857fe8 -rdc2000a2f1ddaf3232f651a983fea1309b5c2696 --- reference/jquery-plugins/lou-multi-select-0.9.12/js/jquery.multi-select.js (.../jquery.multi-select.js) (revision 7d71c7a58b249146e83897fcb49e36f11f857fe8) +++ reference/jquery-plugins/lou-multi-select-0.9.12/js/jquery.multi-select.js (.../jquery.multi-select.js) (revision dc2000a2f1ddaf3232f651a983fea1309b5c2696) @@ -99,20 +99,37 @@ var that = this, ms = that.$element, attributes = "", + serverType = "", $option = $(option); for (var cpt = 0; cpt < option.attributes.length; cpt++){ var attr = option.attributes[cpt]; if(attr.name !== 'value' && attr.name !== 'disabled'){ attributes += attr.name+'="'+attr.value+'" '; + serverType = attr.value; } } - var selectableLi = $('
  • '+that.escapeHTML($option.text())+'
  • '), - selectedLi = selectableLi.clone(), - value = $option.val(), - elementId = that.sanitize(value); + var selectableLi, + selectedLi, + value, + elementId; + + if(serverType === "온프레미스" || serverType ==="클라우드") { + if (serverType === "온프레미스") { + selectableLi = $('
  • '+that.escapeHTML($option.text())+'
  • '); + } + if (serverType === "클라우드") { + selectableLi = $('
  • '+that.escapeHTML($option.text())+'
  • '); + } + } else { + selectableLi = $('
  • '+that.escapeHTML($option.text())+'
  • '); + } + selectedLi = selectableLi.clone(), + value = $option.val(), + elementId = that.sanitize(value); + selectableLi .data('ms-value', value) .addClass('ms-elem-selectable')