change checkbox name from id to database name

This commit is contained in:
denz
2017-03-02 15:40:29 +09:00
committed by HyoJong
parent abf00559c7
commit 7872df8479
3 changed files with 2 additions and 3 deletions
@@ -274,7 +274,7 @@
var key = dataSourceIdPrefix + obj.id;
scope.dataSourceChartCheckedKeys[key] = index < 30 ? true : false;
return {
display: index,
display: obj.databaseName ? obj.databaseName : obj.id,
value: key
};
});
@@ -209,7 +209,7 @@
<div class="wrapper">
<ul>
<li ng-repeat="key in dataSourceChartKeys">
<input type="checkbox" id="checkbox_{{key.display}}" value="{{key.value}}" ng-checked="checkChecked(key.value)"><label for="checkbox_{{key.display}}">{{key.display}}</label>
<input type="checkbox" id="checkbox_{{key.value}}" value="{{key.value}}" ng-checked="checkChecked(key.value)"><label for="checkbox_{{key.value}}">{{key.display}}</label>
</li>
</ul>
</div>
-1
View File
@@ -291,7 +291,6 @@
}
#data-source-chart .type-select-layer li {
display: inline-block;
width: 48px;
list-style: none;
padding: 4px 5px 4px 3px;
}