Upozorňovat při zavírání okénka editace komentáře
This commit is contained in:
parent
e257f31ea5
commit
7da9aa5fe3
2 changed files with 3 additions and 2 deletions
|
@ -102,7 +102,6 @@ form {
|
||||||
top:0px;
|
top:0px;
|
||||||
}
|
}
|
||||||
#commform-div {
|
#commform-div {
|
||||||
display: none;
|
|
||||||
position: absolute;
|
position: absolute;
|
||||||
background-color: white;
|
background-color: white;
|
||||||
border: 1px solid;
|
border: 1px solid;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
<div id="commform-div">
|
<div id="commform-div" style="display: none">
|
||||||
<form action='' id="commform" method="POST">
|
<form action='' id="commform" method="POST">
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
<input size="24" name="au" value="{{user.first_name}} {{user.last_name}}" readonly/>
|
<input size="24" name="au" value="{{user.first_name}} {{user.last_name}}" readonly/>
|
||||||
|
@ -57,6 +57,8 @@
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (formdiv.style.display !== 'none' && !confirm("Zavřít předchozí okénko přidávání korektury / editace komentáře?")) return 1;
|
||||||
|
|
||||||
//form.action = "#" + img_id;
|
//form.action = "#" + img_id;
|
||||||
|
|
||||||
// set hidden values
|
// set hidden values
|
||||||
|
|
Loading…
Reference in a new issue