##// END OF EJS Templates
js: workaround to avoid <option> tags inside <script>...
Mads Kiilerich -
r5957:5dfe741d default
parent child Browse files
Show More
@@ -271,7 +271,7 b''
271 271 });
272 272 } else if (context == 'changelog') {
273 273 if (e.choice.type == 'tag' || e.choice.type == 'book') {
274 $("#branch_filter").append($('<option/>').val(e.choice.text));
274 $("#branch_filter").append($('<'+'option/>').val(e.choice.text));
275 275 }
276 276 $("#branch_filter").val(e.choice.text).change();
277 277 } else {
@@ -134,7 +134,7 b''
134 134 var length = options.length;
135 135 for(var j = 0; j < length; j++)
136 136 {
137 $optgroup.append($('<option/>').text(options[j][1]).val(options[j][0]));
137 $optgroup.append($('<'+'option/>').text(options[j][1]).val(options[j][0]));
138 138 }
139 139 $other_ref.append($optgroup);
140 140 }
General Comments 0
You need to be logged in to leave comments. Login now