Skip to content

Instantly share code, notes, and snippets.

@doug1n
Last active January 23, 2020 13:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save doug1n/054ad90beab61eb264caefaa725a2995 to your computer and use it in GitHub Desktop.
Save doug1n/054ad90beab61eb264caefaa725a2995 to your computer and use it in GitHub Desktop.
Desabilitar campos zoom na inicialização do form
function inicializaCamposZoom() {
if (typeof window['filial'].setValue != 'function') {
setTimeout(inicializaCamposZoom, 500);
} else {
// Seu código aqui...
// disableZoom('filial')
// prepareReload('motivo', 'tipoRequisicao', '4')
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment