static/js/ep_email.js
function initPopupForm(){
  var popUpIsAlreadyVisible = $('#ep_email_form_popup').is(":visible");
  if(!popUpIsAlreadyVisible){ // if the popup isn't already visible
    var cookieVal = pad.getPadId() + "email";
    if(cookie.getPref(cookieVal) !== "true"){ // if this user hasn't already subscribed
      askClientToEnterEmail(); // ask the client to register TODO uncomment me for a pop up
    }
  }
}
function initPopupForm(){
  var popUpIsAlreadyVisible = $('#ep_email_form_popup').is(":visible");
  if(!popUpIsAlreadyVisible){ // if the popup isn't already visible
    var cookieVal = pad.getPadId() + "email";
    if(cookie.getPref(cookieVal) !== "true"){ // if this user hasn't already subscribed
      askClientToEnterEmail(); // ask the client to register TODO uncomment me for a pop up
    }
  }
}
function initPopupForm ( ) { var popUpIsAlreadyVisible = $ ( '#ep_email_form_popup' ) . is ( ":visible" ) ; if ( ! popUpIsAlreadyVisible ) { // if the popup isn't already visible var cookieVal = pad . getPadId ( ) + "email" ; if ( cookie . getPref ( cookieVal ) !== "true" ) { // if this user hasn't already subscribed askClientToEnterEmail ( ) ; // ask the client to register TODO uncomment me for a pop up } } }
Initialize the popup panel form for subscription
Initialize the popup panel form for subscription