Advertisement
PtiTom

SharePoint - Avoid WebPart Error on display

May 6th, 2016
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 0.25 KB | None | 0 0
  1. <script src="//ajax.aspnetcdn.com/ajax/jQuery/jquery-2.2.3.min.js" type="text/javascript"></script>
  2. <script type="text/javascript">
  3.   $(document).ready(function() {
  4.     $("div.ms-webpart-chrome:has(div div[errorwebpart='1'])").hide();
  5.   });
  6. </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement