This commit is contained in:
parent
52f3f29e28
commit
25a8c8c5ab
|
|
@ -114,7 +114,6 @@ else
|
||||||
<td><textarea class="form-control" id="feedb" style="resize: none; height: 250px;" maxlength="800"></textarea></td>
|
<td><textarea class="form-control" id="feedb" style="resize: none; height: 250px;" maxlength="800"></textarea></td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
※ 피드백은 1번 등록하면 수정할 수 없으며, 복사/붙여넣기가 불가능합니다.
|
|
||||||
<br /><br /><br />
|
<br /><br /><br />
|
||||||
<div class="text-center">
|
<div class="text-center">
|
||||||
<a href="#" id="btnpre" class="btn btn-info btn-xs" onclick="save(-1)">◀이전</a>
|
<a href="#" id="btnpre" class="btn btn-info btn-xs" onclick="save(-1)">◀이전</a>
|
||||||
|
|
@ -162,19 +161,19 @@ else
|
||||||
$("body").on("click", "td.qi div.imgbox", function () {
|
$("body").on("click", "td.qi div.imgbox", function () {
|
||||||
$(this).toggleClass("active");
|
$(this).toggleClass("active");
|
||||||
});
|
});
|
||||||
$("#feedb,#feedb2").on("keydown", function (e) {
|
//$("#feedb,#feedb2").on("keydown", function (e) {
|
||||||
if (e.keyCode == 17) {
|
// if (e.keyCode == 17) {
|
||||||
alert('기능키를 사용하실 수 없습니다.');
|
// alert('기능키를 사용하실 수 없습니다.');
|
||||||
$("body").focus();
|
// $("body").focus();
|
||||||
return false;
|
// return false;
|
||||||
}
|
// }
|
||||||
}).on("mousedown", function (e) {
|
//}).on("mousedown", function (e) {
|
||||||
if (e.button == 2) {
|
// if (e.button == 2) {
|
||||||
alert('마우스를 사용하실 수 없습니다.');
|
// alert('마우스를 사용하실 수 없습니다.');
|
||||||
$("body").focus();
|
// $("body").focus();
|
||||||
return false;
|
// return false;
|
||||||
}
|
// }
|
||||||
});
|
// });
|
||||||
});
|
});
|
||||||
function findme() {
|
function findme() {
|
||||||
bglayer(); submit();
|
bglayer(); submit();
|
||||||
|
|
@ -242,9 +241,9 @@ else
|
||||||
setv("cpoint", d.cpoint);
|
setv("cpoint", d.cpoint);
|
||||||
$("#feedb").val(d.feedb);
|
$("#feedb").val(d.feedb);
|
||||||
$("#feedb").removeAttr("readonly");
|
$("#feedb").removeAttr("readonly");
|
||||||
if (getdb(d.feedb) != '') {
|
//if (getdb(d.feedb) != '') {
|
||||||
$("#feedb").attr("readonly", "readonly");
|
// $("#feedb").attr("readonly", "readonly");
|
||||||
}
|
//}
|
||||||
$("#btnpre,#btnnext").show();
|
$("#btnpre,#btnnext").show();
|
||||||
if (_ridx == 1) {
|
if (_ridx == 1) {
|
||||||
$("#btnpre").hide();
|
$("#btnpre").hide();
|
||||||
|
|
|
||||||
|
|
@ -970,7 +970,7 @@
|
||||||
<update id="lect.lectsd.save" parameterClass="lectsd">
|
<update id="lect.lectsd.save" parameterClass="lectsd">
|
||||||
update lectsd set <include refid="sql.up"></include>
|
update lectsd set <include refid="sql.up"></include>
|
||||||
,iscopy=#iscopy#,cpoint=#cpoint#
|
,iscopy=#iscopy#,cpoint=#cpoint#
|
||||||
,feedb=case when feedb is null then #feedb# else feedb end
|
,feedb=#feedb#
|
||||||
,checktime=case when #cpoint# is not null or #feedb# is not null then now() else checktime end
|
,checktime=case when #cpoint# is not null or #feedb# is not null then now() else checktime end
|
||||||
,checkip=case when #cpoint# is not null or #feedb# is not null then #uip# else checkip end
|
,checkip=case when #cpoint# is not null or #feedb# is not null then #uip# else checkip end
|
||||||
where lectno=#lectno# and sdno=#sdno#;
|
where lectno=#lectno# and sdno=#sdno#;
|
||||||
|
|
@ -986,7 +986,7 @@
|
||||||
</update>
|
</update>
|
||||||
<update id="lect.lectsd.savebatch" parameterClass="lectsd">
|
<update id="lect.lectsd.savebatch" parameterClass="lectsd">
|
||||||
update lectsd set <include refid="sql.up"></include>
|
update lectsd set <include refid="sql.up"></include>
|
||||||
,iscopy=#iscopy#,cpoint=#cpoint#,feedb=case when feedb is null then #feedb# else feedb end
|
,iscopy=#iscopy#,cpoint=#cpoint#,feedb=#feedb#
|
||||||
,checktime=case when #cpoint# is not null or #feedb# is not null then now() else checktime end
|
,checktime=case when #cpoint# is not null or #feedb# is not null then now() else checktime end
|
||||||
,checkip=case when #cpoint# is not null or #feedb# is not null then #uip# else checkip end
|
,checkip=case when #cpoint# is not null or #feedb# is not null then #uip# else checkip end
|
||||||
where lectno in ($lectnos$) and sdno=#sdno#;
|
where lectno in ($lectnos$) and sdno=#sdno#;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue