Advertisement
Guest User

Untitled

a guest
Apr 23rd, 2014
40
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.91 KB | None | 0 0
  1. function ShowPopup(message) {
  2. $(function () {
  3. var pweb = '<object data="http://[internal domain]" width="1024px" height="768px" />';
  4. $("#dialog").html(pweb);
  5. $("#dialog").dialog({
  6. title: "jQuery Dialog Popup",
  7. minHeight: 768,
  8. minWidth:1024,
  9. buttons: {
  10. Close: function () {
  11. $(this).dialog('close');
  12. }
  13. },
  14. modal: true
  15. });
  16. });
  17. };
  18.  
  19. $("#dialog").html(pweb);
  20. var teaser = $("#dialog").clone();
  21. teaser.find(".report_issue_header").remove()
  22.  
  23. $("#dialog").html(pweb);
  24. var teaser = $("#dialog").clone();
  25. teaser = $.trim($(".report_issue_header", teaser).remove().end().html());
  26.  
  27. pweb.getElementsByTagName("report_issue_header").remove();
  28.  
  29. $("#dialog").html(pweb).find(".report_issue_header").remove();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement