Changeset 74150 in webkit
- Timestamp:
- Dec 15, 2010 3:33:58 PM (13 years ago)
- Location:
- trunk/BugsSite
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BugsSite/ChangeLog
r74142 r74150 1 2010-12-15 Ojan Vafai <ojan@chromium.org> 2 3 Reviewed by Adam Barth. 4 5 fix goofups from r74142 and r74130 6 https://bugs.webkit.org/show_bug.cgi?id=51146 7 8 Accidentally shrank the inline comment boxes and made 9 the toolbar not show up when there were image diffs. 10 11 * PrettyPatch/PrettyPatch.rb: 12 * code-review.js: 13 1 14 2010-12-14 Ojan Vafai <ojan@chromium.org> 2 15 -
trunk/BugsSite/PrettyPatch/PrettyPatch.rb
r74142 r74150 208 208 } 209 209 210 .comment textarea { 211 height: 6em; 212 } 213 214 .overallComments textarea { 215 height: 2em; 216 } 217 210 218 .comment textarea, .overallComments textarea { 211 219 display: block; 212 220 width: 100%; 213 height: 2em;214 221 } 215 222 … … 352 359 </style> 353 360 <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script> 354 <script src="code-review.js?version=1 4"></script>361 <script src="code-review.js?version=15"></script> 355 362 EOF 356 363 -
trunk/BugsSite/code-review.js
r74142 r74150 288 288 289 289 var file_diff = files[file_name]; 290 $('.context', file_diff).detach();291 292 var expand_bar_index = 0;293 290 294 291 // Don't show the links to expand upwards/downwards if the patch starts/ends without context 295 292 // lines, i.e. starts/ends with add/remove lines. 296 293 var first_line = file_diff.querySelector('.Line'); 294 295 // If there is no element with a "Line" class, then this is an image diff. 296 if (!first_line) 297 return; 298 299 $('.context', file_diff).detach(); 300 301 var expand_bar_index = 0; 297 302 if (!$(first_line).hasClass('add') && !$(first_line).hasClass('remove')) 298 303 $('h1', file_diff).after(expandBarHtml(file_name, BELOW))
Note: See TracChangeset
for help on using the changeset viewer.