Skip to content
Snippets Groups Projects
Commit 2a22af42 authored by VladimirCherkasov's avatar VladimirCherkasov
Browse files

minor changes

parent eca59ee6
Branches
Tags
No related merge requests found
.errTitle{
.errTitle {
font-size: large;
cursor: pointer;
}
.repBlock{
}
.repBlock {
border: solid;
border-width: 1px ;
border-width: 1px;
border-color: #8ba7f6;
padding: 7px;
margin-bottom: 10px;
}
.reqImg{
float:left;
.reqImg {
float: left;
width: 100px;
}
.repInfo{
.repInfo {
display: none;
}
\ No newline at end of file
}
/*
select, option { color: #000; }
select.closed, option[value="closed"] { color: #008000; }
select.opened, option[value="opened"] { color: #0000ff; }
select.processed, option[value="processed"] { color: #ffff00; }
*/
......@@ -17,7 +17,10 @@ $(function () {
$(".requestStatus").change(function (e) {
var requestId = e.target.id.replace('requestStatus', '');
var status = $(this).val();
$(this).prop( "disabled", true );
// $(this).removeClass("opened");
// $(this).removeClass("closed");
// $(this).removeClass("processed");
$.ajax({
type: "POST",
url: URLdir + "handler/errMessages/setStatus",
......@@ -29,9 +32,16 @@ $(function () {
data = $.parseJSON(data);
console.log(data);
if (data.success === true) {
EventInspector_ShowMsg('Статус изменен!', 'success');
}
else {
EventInspector_ShowMsg('Ошибка!', 'error');
}
$(".requestStatus").prop( "disabled", false );
}
});
// $(this).addClass(status);
});
});
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment