Guest User

Untitled

a guest
Jul 17th, 2018
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1. if(so.data.persist1 != undefined) {
  2. //data exists
  3.  
  4. if(mainmov.v_Persist1 != undefined){
  5. // if Captivate variable is populated
  6. so.data.persist1 = mainmov.v_Persist1;
  7. so.data.flush();
  8.  
  9. }else{
  10. // if Captivate variable is undefined do nothing
  11. }// close else
  12. } else {
  13. //data does not exist
  14. //check if there is a value from Captivate
  15. if(mainmov.v_Persist1 == undefined){
  16. // if Captivate variable is undefined do nothing
  17.  
  18. }else{
  19. // if Captivate variable is populated the store it
  20. so.data.persist1 = mainmov.v_Persist1;
  21. so.data.flush();
  22. }// close else
  23. }// close else
Add Comment
Please, Sign In to add comment