Project

General

Profile

Actions

Defect #41054

closed

Issues options aren't hidden at start

Added by Piotr Markiewicz 3 months ago. Updated 3 months ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Issues filter
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Invalid
Affected version:

Description

File app/views/queries/_query_form.html.erb
has <fieldset id="options"
which contains <div class="hidden">.
This div should have style="display: none" to work properly with function
function toggleFieldset(el) {
var fieldset = $(el).parents('fieldset').first();
fieldset.toggleClass('collapsed');
fieldset.children('legend').toggleClass('icon-expanded icon-collapsed');
fieldset.children('div').toggle();
}

Explanation:
<fieldset> and <legend> works fine, beacuse they have appropriate class to be hidden.
<div> hasn't style="display: none", so jQuery function toggle() toggles "display" property opposite way.

Actions #1

Updated by Piotr Markiewicz 3 months ago

Everything works fine.
There was broken code in my application.

To reject.

Actions #2

Updated by Marius BÄ‚LTEANU 3 months ago

  • Status changed from New to Closed
  • Resolution set to Invalid

Thanks for feedback!

Actions

Also available in: Atom PDF