|
|
|
@ -18,7 +18,7 @@
|
|
|
|
|
<div>
|
|
|
|
|
<button onclick="search${infoPrefix}s();" class="btn btn-primary">찾기</button>
|
|
|
|
|
<button onclick="${infoPrefix}Control.newInfo();" class="btn btn-primary">+ 추가</button>
|
|
|
|
|
<button id="btnRemove${infoPrefix}s" onclick="remove${infoPrefix}s();" class="btn btn-primary">- 제거</button>
|
|
|
|
|
<button onclick="remove${infoPrefix}s();" class="btn btn-primary on-select">- 제거</button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="table-responsive">
|
|
|
|
@ -135,7 +135,7 @@ ${infoPrefix}Control.onSelectionChange = selected => {
|
|
|
|
|
checkbox.prop("checked", keys.includes(checkbox.val()));
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
$("#btnRemove${infoPrefix}s").prop("disabled", keys.length < 1);
|
|
|
|
|
$("button.on-select").prop("disabled", keys.length < 1);
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
$("#term").onEnterPress(search${infoPrefix}s);
|
|
|
|
|