nyroModal icon indicating copy to clipboard operation
nyroModal copied to clipboard

Disable closeOnClick after key down

Open megatom opened this issue 10 years ago • 0 comments

I want to set the parameter closeOnClick to false, when something is typed in the modal.

I tried:

callbacks: { keyHandle: function(nm){ debug(nm.closeOnClick); nm.closeOnClick = false; $.nmTop({closeOnClick : false}); $.nmObj({closeOnClick: false}); debug(nm.closeOnClick); } }

But none of them sets the value to false. How can I manage this?

megatom avatar Nov 25 '15 12:11 megatom