Fórum

Disable resize capability from modal login

thumbnail
Arthur Marinho, modificado 7 Anos atrás.

Disable resize capability from modal login

New Member Postagens: 24 Data de Entrada: 13/01/15 Postagens Recentes
Hello everybody.

I'm using liferay modal login to log my users in and want to disable the resize functionality from this modal.
I looked in the documentation and couldn't find any method or property in JS to change this.

Does anyone know how to do it?
thumbnail
Kailash Yadav, modificado 7 Anos atrás.

RE: Disable resize capability from modal login

Regular Member Postagens: 211 Data de Entrada: 18/10/11 Postagens Recentes
If you are using Liferay.SignInModal to open sign-in model, you can hook sign_in_modal.js and add resizable: false in dialog section.
thumbnail
Arthur Marinho, modificado 7 Anos atrás.

RE: Disable resize capability from modal login

New Member Postagens: 24 Data de Entrada: 13/01/15 Postagens Recentes
Hi Kailash thanks for the answer.

I'm familiar with hooking jsps, but how can I hook js? where do I put it?

Thanks again.
thumbnail
Kailash Yadav, modificado 7 Anos atrás.

RE: Disable resize capability from modal login

Regular Member Postagens: 211 Data de Entrada: 18/10/11 Postagens Recentes
Same like JSP hook. See Olaf's comment http://stackoverflow.com/a/6587280