dded heightStype: "content" to some accordion widgetss

This commit is contained in:
hyung-hwan 2016-01-11 04:02:27 +00:00
parent 634f8054bd
commit 777771a95c
9 changed files with 29 additions and 14 deletions

View File

@ -49,7 +49,8 @@ else
$(function () {
$('#code_blame_metadata').accordion({
collapsible: true
collapsible: true,
heightStyle: "content"
});
$("#code_blame_mainarea_loc_info").hide();

View File

@ -72,11 +72,13 @@ else
<script type="text/javascript">
$(function() {
$('#code_diff_metadata').accordion({
collapsible: true
collapsible: true,
heightStyle: "content"
});
$('#code_diff_metadata_against').accordion({
collapsible: true
collapsible: true,
heightStyle: "content"
});

View File

@ -70,7 +70,8 @@ function showRawCode()
$(function () {
$('#code_file_metadata').accordion({
collapsible: true
collapsible: true,
heightStyle: "content"
});
$("#code_file_mainarea_loc_info").hide();

View File

@ -615,7 +615,9 @@ $(function () {
<?php endif; ?>
$('#code_folder_metadata').accordion({
collapsible: true
collapsible: true,
heightStyle: "content"
});
<?php if ($revision > 0 && $revision < $next_revision): ?>

View File

@ -502,19 +502,23 @@ function hide_unneeded_divs()
$(function() {
$("#code_revision_metadata").accordion ({
collapsible: true
collapsible: true,
heightStyle: "content"
});
$("#code_revision_result_files").accordion ({
collapsible: true
collapsible: true,
heightStyle: "content"
});
$("#code_revision_result_properties").accordion ({
collapsible: true
collapsible: true,
heightStyle: "content"
});
$("#code_revision_result_comments").accordion ({
collapsible: true
collapsible: true,
heightStyle: "content"
});
hide_unneeded_divs ();

View File

@ -167,11 +167,13 @@ var original_file_desc = [
$(function () {
$('#file_show_mainarea_metadata').accordion({
collapsible: true
collapsible: true,
heightStyle: "content"
});
$('#file_show_mainarea_files').accordion({
collapsible: true
collapsible: true,
heightStyle: "content"
});

View File

@ -210,7 +210,8 @@ var original_file_desc = [
$(function () {
$('#issue_show_mainarea_state').accordion({
collapsible: true
collapsible: true,
heightStyle: "content"
});
<?php if (isset($login['id']) && $login['id'] != ''): ?>

View File

@ -157,7 +157,8 @@ $(function () {
render_project_pages (total_num_avail, total_num_shown, req_page_offset, req_page_size);
$("#project_catalog_mainarea_search_form").accordion({
collapsible: true
collapsible: true,
heightStyle: "content"
});
});

View File

@ -60,7 +60,8 @@ function render_wiki()
$(function () {
$('#wiki_show_mainarea_metadata').accordion({
collapsible: true
collapsible: true,
heightStyle: "content"
});
render_wiki ();