SideBySide2: Only open/close comment boxes if clicked on header

Instead of adding a click handler on the whole box, add it only
on the header. This restores the old behavior. The current
version is a bit annoying when trying to select from a comment.

Change-Id: I37580f5d9f9e266d4867bbe383cba1b65d1d4c1e
This commit is contained in:
Michael Zhou
2013-08-09 14:22:45 -07:00
parent 7fd72a6b4c
commit 5e88dfa9e5
4 changed files with 10 additions and 6 deletions

View File

@@ -42,11 +42,11 @@ limitations under the License.
<g:HTMLPanel styleName='{res.style.commentBox}'>
<div class='{res.style.contents}'>
<div class='{res.style.header}'>
<g:HTMLPanel ui:field='header' styleName='{res.style.header}'>
<div class='{style.draft}'>Draft</div>
<div ui:field='summary' class='{res.style.summary}'/>
<div ui:field='date' class='{res.style.date}'/>
</div>
</g:HTMLPanel>
<div ui:field='p_view' aria-hidden='true' style='display: NONE'>
<g:HTML ui:field='message' styleName=''/>
<div style='position: relative'>