Fixed issue with select2 fields
This commit is contained in:
parent
17bae49b21
commit
2bc607c4aa
|
@ -915,7 +915,7 @@ function html_print_select(
|
|||
ui_require_javascript_file('select2.min');
|
||||
}
|
||||
|
||||
$output .= '<script>$("#'.$id.'").select2();</script>';
|
||||
$output .= '<script type="text/javascript">$("#'.$id.'").select2();</script>';
|
||||
}
|
||||
|
||||
if ($return) {
|
||||
|
|
|
@ -965,7 +965,8 @@ function load_interfaces(selected_links) {
|
|||
$("#relations_table-no_relations").css("display", "none");
|
||||
$("#relations_table-loading").css("display", "");
|
||||
|
||||
var template_relation_row = $("#relations_table-template_row").clone();
|
||||
var template_relation_row = $("#relations_table-template_row");
|
||||
template_relation_row.clone();
|
||||
|
||||
$(template_relation_row).css("display", "");
|
||||
$(template_relation_row).attr("class", "relation_link_row");
|
||||
|
|
Loading…
Reference in New Issue