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:
@@ -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'>
|
||||
|
||||
Reference in New Issue
Block a user