TareasProgramadas Envio de estado cuenta, compras cvetipoOperacion, , reembolsos filtror rwo acumulado, ajkustes carta porte, OC carga desde excel filtro rows vacios, personal cuentas deposito
This commit is contained in:
@@ -119,17 +119,8 @@
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
|
||||
<asp:Panel runat="server" ID="portletTarea" class="portlet light smmallpadding bordered">
|
||||
<div class="portlet-title">
|
||||
<div class="caption font-green">
|
||||
<i class="icon-pin font-green"></i>
|
||||
<span class="caption-subject bold uppercase">Nuevo</span>
|
||||
</div>
|
||||
<div class="tools">
|
||||
<a href="javascript:;" class="collapse" data-original-title="" title=""></a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="portlet-body rowpadding">
|
||||
|
||||
|
||||
<div class="form-group form-md-line-input input-iconright">
|
||||
<asp:TextBox ID="TxtAsunto" runat="server" CssClass="form-control" CausesValidation="true"></asp:TextBox>
|
||||
<asp:RequiredFieldValidator ID="RFVAsunto" runat="server" CssClass="help-block errorimput" ControlToValidate="TxtAsunto" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''Asunto''</b> es necesario, por favor ingréselo." ValidationGroup="GrpTarea"></asp:RequiredFieldValidator>
|
||||
@@ -269,8 +260,11 @@
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</asp:Panel>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<asp:TextBox ID="txtCveEvento" CssClass="hidden txtCveEvento" runat="server"></asp:TextBox>
|
||||
<asp:Button ID="BtnopenmodalClickGant" OnClick="BtnopenmodalClickGant_Click" CssClass="hidden BtnopenmodalClickGant" UseSubmitBehavior="false" runat="server" Text="Button" />
|
||||
</div>
|
||||
@@ -320,6 +314,36 @@
|
||||
<script src="/Metronic/assets/global/plugins/dhtmlxgantt/dhtmlxgantt.js"></script>
|
||||
|
||||
<script>
|
||||
|
||||
(function () {
|
||||
const BsModal = $.fn.modal.Constructor.prototype;
|
||||
const oldFocus1 = BsModal.enforceFocus; // BS3
|
||||
const oldFocus2 = BsModal._enforceFocus; // BS4+
|
||||
|
||||
$('#iddivAgregarProyecto')
|
||||
.on('shown.bs.modal', function () {
|
||||
// quito TODOS los focus trap que se hayan registrado
|
||||
$(document).off('focusin.bs.modal');
|
||||
if (oldFocus1) BsModal.enforceFocus = function () { };
|
||||
if (oldFocus2) BsModal._enforceFocus = function () { };
|
||||
})
|
||||
.on('hidden.bs.modal', function () {
|
||||
// devuelvo el comportamiento original
|
||||
if (oldFocus1) BsModal.enforceFocus = oldFocus1;
|
||||
if (oldFocus2) BsModal._enforceFocus = oldFocus2;
|
||||
});
|
||||
})();
|
||||
|
||||
$(document).on('select2:open', () => {
|
||||
const $f = $('.select2-container--open .select2-search__field').last();
|
||||
setTimeout(() => $f.trigger('focus'), 0); // micro-tarea → evita el blur inmediato
|
||||
});
|
||||
|
||||
$('#iddivAgregarProyecto .select2me').select2({
|
||||
width: '100%',
|
||||
dropdownParent: $('#iddivAgregarProyecto .modal-content') // evita desalinearse al hacer scroll
|
||||
});
|
||||
|
||||
let RCveEvento =<%= RCveEvento %>;
|
||||
function NuevoEvento(CveEvento) {
|
||||
$('.txtCveEvento').val(CveEvento);
|
||||
|
||||
Reference in New Issue
Block a user