summaryrefslogtreecommitdiffstats
path: root/gerrit-patch-commonsnet
diff options
context:
space:
mode:
authorShawn O. Pearce <sop@google.com>2010-06-17 09:40:53 -0700
committerShawn O. Pearce <sop@google.com>2010-06-17 09:40:53 -0700
commite8fd49f5f7481e2f916cb0d8cfbada79309562b4 (patch)
tree25c9ee90504f0760e46edab01d007cbeea6f6d99 /gerrit-patch-commonsnet
parentd5c3530d89e4ed279f6a517a767771ac03f32c3a (diff)
Fix NPE when site header or footer isn't present
If there is no site header or footer, HostPageServlet deletes these from the document it sends to the browser, which means we have no DOM handle to the node. We can't set visiblity on null, so skip the set call. Bug: issue 587 Change-Id: I6e16472f35b99f18fea4eead9cd1029e87b4b1f2 Signed-off-by: Shawn O. Pearce <sop@google.com>
Diffstat (limited to 'gerrit-patch-commonsnet')
0 files changed, 0 insertions, 0 deletions