mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-02-17 20:10:50 +01:00
fix: forzatura variabile content_was_modified
This commit is contained in:
parent
be35557598
commit
ea1b983c39
@ -524,6 +524,9 @@ if ($read_only || !empty($block_edit)) {
|
|||||||
|
|
||||||
var content_was_modified = false;
|
var content_was_modified = false;
|
||||||
|
|
||||||
|
// Forzatura per annullare il cambio da eventi subito dopo il caricamento iniziale
|
||||||
|
setTimeout(function() { content_was_modified = false; }, 1000);
|
||||||
|
|
||||||
// Controllo se digito qualche valore o cambio qualche select
|
// Controllo se digito qualche valore o cambio qualche select
|
||||||
$(".content input, .content textarea, .content select").bind("change paste keyup", function(event) {
|
$(".content input, .content textarea, .content select").bind("change paste keyup", function(event) {
|
||||||
if (event.keyCode >= 32) {
|
if (event.keyCode >= 32) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user