Defect #31496 » fix_toggle-multiselect.patch
app/views/workflows/edit.html.erb | ||
---|---|---|
64 | 64 |
e.preventDefault(); |
65 | 65 |
var target = $($(this).attr("data-expands")); |
66 | 66 |
if (target.attr("multiple")) { |
67 |
$(event.target).switchClass('icon-toggle-minus', 'icon-toggle-plus');
|
|
67 |
$(this).find('span').switchClass('icon-toggle-minus', 'icon-toggle-plus');
|
|
68 | 68 |
target.attr("multiple", false); |
69 | 69 |
target.find("option[value=all]").show(); |
70 | 70 |
} else { |
71 |
$(event.target).switchClass('icon-toggle-plus', 'icon-toggle-minus');
|
|
71 |
$(this).find('span').switchClass('icon-toggle-plus', 'icon-toggle-minus');
|
|
72 | 72 |
target.attr("multiple", true); |
73 | 73 |
target.find("option[value=all]").attr("selected", false).hide(); |
74 | 74 |
} |
app/views/workflows/permissions.html.erb | ||
---|---|---|
112 | 112 |
e.preventDefault(); |
113 | 113 |
var target = $($(this).attr("data-expands")); |
114 | 114 |
if (target.attr("multiple")) { |
115 |
$(this).find('span').switchClass('icon-toggle-minus', 'icon-toggle-plus'); |
|
115 | 116 |
target.attr("multiple", false); |
116 | 117 |
target.find("option[value=all]").show(); |
117 | 118 |
} else { |
119 |
$(this).find('span').switchClass('icon-toggle-plus', 'icon-toggle-minus'); |
|
118 | 120 |
target.attr("multiple", true); |
119 | 121 |
target.find("option[value=all]").attr("selected", false).hide(); |
120 | 122 |
} |
public/stylesheets/application.css | ||
---|---|---|
531 | 531 |
.add-filter {width:35%; float:right; text-align: right; vertical-align: top;} |
532 | 532 | |
533 | 533 |
#issue_is_private_wrap {float:right; margin-right:1em;} |
534 |
.toggle-multiselect { no-repeat 0% 40%; padding-left:16px; margin-left:0; margin-right:5px; cursor:pointer;}
|
|
534 |
.toggle-multiselect { margin-right:5px; cursor:pointer;} |
|
535 | 535 |
.buttons { font-size: 0.9em; margin-bottom: 1.4em; margin-top: 1em; } |
536 | 536 | |
537 | 537 |
div#issue-changesets {float:right; width:45%; margin-left: 1em; margin-bottom: 1em; background: #fff; padding-left: 1em; font-size: 90%;} |
... | ... | |
1502 | 1502 |
.icon-bookmark-off { background-image: url(../images/tag_blue_add.png); } |
1503 | 1503 |
.icon-sorted-asc { background-image: url(../images/arrow_down.png); } |
1504 | 1504 |
.icon-sorted-desc { background-image: url(../images/arrow_up.png); } |
1505 |
.icon-toggle-plus { background: url(../images/bullet_toggle_plus.png) } |
|
1506 |
.icon-toggle-minus { background: url(../images/bullet_toggle_minus.png) } |
|
1505 |
.icon-toggle-plus { background-image: url(../images/bullet_toggle_plus.png) }
|
|
1506 |
.icon-toggle-minus { background-image: url(../images/bullet_toggle_minus.png) }
|
|
1507 | 1507 | |
1508 | 1508 |
.icon-file { background-image: url(../images/files/default.png); } |
1509 | 1509 |
.icon-file.text-plain { background-image: url(../images/files/text.png); } |
- « Previous
- 1
- 2
- 3
- 4
- Next »