TT#123202 Fix v1 add/edit windows auto-expand on v2 (it worked in 50% cases)

It worked unreliable in the past (~50% of time maximised and
50% of time is minimised). The changes makes it reliable.

Huge thank you to Sergii Leonenko for the fix!

Change-Id: I35ffb6632565851592406acb4bd9d3c7bc8d8c03
mr9.5.1
Alexander Lutay 5 years ago
parent 35d9c3598a
commit 0341c2f874

@ -69,11 +69,12 @@
$btn.hide();
});
};
$(modalFormScript);
[% IF framed -%]
setTimeout(function() { $('#mod_max:visible').click(); }, 0);
setTimeout(function() { $('#mod_max:first').click(); }, 0);
[% END -%]
};
$(modalFormScript);
</script>
[% END -%]

Loading…
Cancel
Save