dded heightStype: "content" to some accordion widgetss
This commit is contained in:
		| @ -49,7 +49,8 @@ else | |||||||
| $(function () { | $(function () { | ||||||
|  |  | ||||||
| 	$('#code_blame_metadata').accordion({ | 	$('#code_blame_metadata').accordion({ | ||||||
| 		collapsible: true | 		collapsible: true, | ||||||
|  | 		heightStyle: "content" | ||||||
| 	}); | 	}); | ||||||
|  |  | ||||||
| 	$("#code_blame_mainarea_loc_info").hide(); | 	$("#code_blame_mainarea_loc_info").hide(); | ||||||
|  | |||||||
| @ -72,11 +72,13 @@ else | |||||||
| <script type="text/javascript"> | <script type="text/javascript"> | ||||||
| $(function() { | $(function() { | ||||||
| 	$('#code_diff_metadata').accordion({ | 	$('#code_diff_metadata').accordion({ | ||||||
| 		collapsible: true | 		collapsible: true, | ||||||
|  | 		heightStyle: "content" | ||||||
| 	}); | 	}); | ||||||
|  |  | ||||||
| 	$('#code_diff_metadata_against').accordion({ | 	$('#code_diff_metadata_against').accordion({ | ||||||
| 		collapsible: true | 		collapsible: true, | ||||||
|  | 		heightStyle: "content" | ||||||
| 	}); | 	}); | ||||||
|  |  | ||||||
|  |  | ||||||
|  | |||||||
| @ -70,7 +70,8 @@ function showRawCode() | |||||||
| $(function () { | $(function () { | ||||||
|  |  | ||||||
| 	$('#code_file_metadata').accordion({ | 	$('#code_file_metadata').accordion({ | ||||||
| 		collapsible: true | 		collapsible: true, | ||||||
|  |                 heightStyle: "content" | ||||||
| 	}); | 	}); | ||||||
|  |  | ||||||
| 	$("#code_file_mainarea_loc_info").hide(); | 	$("#code_file_mainarea_loc_info").hide(); | ||||||
|  | |||||||
| @ -615,7 +615,9 @@ $(function () { | |||||||
| <?php endif; ?> | <?php endif; ?> | ||||||
|  |  | ||||||
| 	$('#code_folder_metadata').accordion({ | 	$('#code_folder_metadata').accordion({ | ||||||
| 		collapsible: true | 		collapsible: true, | ||||||
|  | 		heightStyle: "content" | ||||||
|  |  | ||||||
| 	}); | 	}); | ||||||
|  |  | ||||||
| 	<?php if ($revision > 0 && $revision < $next_revision): ?> | 	<?php if ($revision > 0 && $revision < $next_revision): ?> | ||||||
|  | |||||||
| @ -502,19 +502,23 @@ function hide_unneeded_divs() | |||||||
|  |  | ||||||
| $(function() { | $(function() { | ||||||
| 	$("#code_revision_metadata").accordion ({ | 	$("#code_revision_metadata").accordion ({ | ||||||
| 		collapsible: true | 		collapsible: true, | ||||||
|  | 		heightStyle: "content" | ||||||
| 	}); | 	}); | ||||||
|  |  | ||||||
| 	$("#code_revision_result_files").accordion ({ | 	$("#code_revision_result_files").accordion ({ | ||||||
| 		collapsible: true | 		collapsible: true, | ||||||
|  | 		heightStyle: "content" | ||||||
| 	}); | 	}); | ||||||
|  |  | ||||||
| 	$("#code_revision_result_properties").accordion ({ | 	$("#code_revision_result_properties").accordion ({ | ||||||
| 		collapsible: true | 		collapsible: true, | ||||||
|  | 		heightStyle: "content" | ||||||
| 	}); | 	}); | ||||||
|  |  | ||||||
| 	$("#code_revision_result_comments").accordion ({ | 	$("#code_revision_result_comments").accordion ({ | ||||||
| 		collapsible: true | 		collapsible: true, | ||||||
|  | 		heightStyle: "content" | ||||||
| 	}); | 	}); | ||||||
|  |  | ||||||
| 	hide_unneeded_divs (); | 	hide_unneeded_divs (); | ||||||
|  | |||||||
| @ -167,11 +167,13 @@ var original_file_desc = [ | |||||||
|  |  | ||||||
| $(function () { | $(function () { | ||||||
| 	$('#file_show_mainarea_metadata').accordion({ | 	$('#file_show_mainarea_metadata').accordion({ | ||||||
| 		collapsible: true | 		collapsible: true, | ||||||
|  | 		heightStyle: "content" | ||||||
| 	}); | 	}); | ||||||
|  |  | ||||||
| 	$('#file_show_mainarea_files').accordion({ | 	$('#file_show_mainarea_files').accordion({ | ||||||
| 		collapsible: true | 		collapsible: true, | ||||||
|  | 		heightStyle: "content" | ||||||
| 	}); | 	}); | ||||||
|  |  | ||||||
|  |  | ||||||
|  | |||||||
| @ -210,7 +210,8 @@ var original_file_desc = [ | |||||||
| $(function () {  | $(function () {  | ||||||
|  |  | ||||||
| 	$('#issue_show_mainarea_state').accordion({ | 	$('#issue_show_mainarea_state').accordion({ | ||||||
| 		collapsible: true | 		collapsible: true, | ||||||
|  | 		heightStyle: "content" | ||||||
| 	}); | 	}); | ||||||
|  |  | ||||||
| <?php if (isset($login['id']) && $login['id'] != ''): ?> | <?php if (isset($login['id']) && $login['id'] != ''): ?> | ||||||
|  | |||||||
| @ -157,7 +157,8 @@ $(function () { | |||||||
| 	render_project_pages (total_num_avail, total_num_shown, req_page_offset, req_page_size); | 	render_project_pages (total_num_avail, total_num_shown, req_page_offset, req_page_size); | ||||||
|  |  | ||||||
| 	$("#project_catalog_mainarea_search_form").accordion({ | 	$("#project_catalog_mainarea_search_form").accordion({ | ||||||
| 		collapsible: true | 		collapsible: true, | ||||||
|  | 		heightStyle: "content" | ||||||
| 	}); | 	}); | ||||||
|  |  | ||||||
| }); | }); | ||||||
|  | |||||||
| @ -60,7 +60,8 @@ function render_wiki() | |||||||
|  |  | ||||||
| $(function () { | $(function () { | ||||||
| 	$('#wiki_show_mainarea_metadata').accordion({ | 	$('#wiki_show_mainarea_metadata').accordion({ | ||||||
| 		collapsible: true | 		collapsible: true, | ||||||
|  | 		heightStyle: "content" | ||||||
| 	}); | 	}); | ||||||
|  |  | ||||||
| 	render_wiki (); | 	render_wiki (); | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user