mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-02-18 12:30:35 +01:00
Fix apertura dettaglio conti
This commit is contained in:
parent
5a95e5546e
commit
e58f1614e3
@ -292,6 +292,7 @@ if ($bilancio_gia_chiuso) {
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
var tr = '';
|
||||||
$(document).ready(function(){
|
$(document).ready(function(){
|
||||||
$("tr").each(function() {
|
$("tr").each(function() {
|
||||||
$(this).on("mouseover", function() {
|
$(this).on("mouseover", function() {
|
||||||
@ -301,12 +302,14 @@ $(document).ready(function(){
|
|||||||
$(this).on("mouseleave", function() {
|
$(this).on("mouseleave", function() {
|
||||||
$(this).find(".tools").addClass("hide");
|
$(this).find(".tools").addClass("hide");
|
||||||
});
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
$("span[id^=movimenti-]").each(function() {
|
||||||
$(this).on("click", function() {
|
$(this).on("click", function() {
|
||||||
var movimenti = $(this).parent().find("div[id^=conto_]");
|
var movimenti = $(this).parent().find("div[id^=conto_]");
|
||||||
|
|
||||||
if(!movimenti.html()) {
|
if(!movimenti.html()) {
|
||||||
var id_conto = movimenti.attr("id").split("_").pop();
|
var id_conto = $(this).attr("id").split("-").pop();
|
||||||
|
|
||||||
load_movimenti(movimenti.attr("id"), id_conto);
|
load_movimenti(movimenti.attr("id"), id_conto);
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user