10 Replies Latest reply on Oct 13, 2016 5:19 AM by gdinning

    The app popup closes on click outside. Can we prevent this.

    shipra

      Hello,

       

      Unlike other pop ups in JIVE like 'create external bookmark popup' the popup window doesn't close if we click outside. Only on close button the popup closes.

       

      This is not happening if I open my app from create menu.

       

      On click of the grey overlay the ships popup window closes.

       

      I see that jive has used the same overlay div '.lb_overlay js_lb_overlay' everywhere.

      I have tried certain javascript codes of unbind,  e.preventDefault(); to disable click on overlay but nothing works.

       

      $('.lb_overlay js_lb_overlay').unbind();

       

      $('.lb_overlay js_lb_overlay').click(function() {

      alert("is clicked");

          return false;

      });

       

      Can we just close the app popup on close button and not  by clicking anywhere on the overlay.

      Capture1.PNG