mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Add count div to domain selector (#7305)
* Add count div to domain selector
This commit is contained in:
@@ -1084,7 +1084,7 @@
|
||||
obj = JSON.parse(this.responseText);
|
||||
|
||||
//update the domain count
|
||||
document.getElementById('domain_count').innerText = '('+ obj.length +')';
|
||||
document.getElementById('domain_count').innerText = obj.length;
|
||||
|
||||
//add new options from the json results
|
||||
for (var i=0; i < obj.length; i++) {
|
||||
@@ -1184,7 +1184,7 @@
|
||||
<div id='domains_block'>
|
||||
<div id='domains_header'>
|
||||
<input id='domains_hide' type='button' class='btn' style='float: right' value="{$text.theme_button_close}">
|
||||
<a id='domains_title' href='{$domains_app_path}'>{$text.theme_title_domains} <span id='domain_count' style='font-size: 80%;'></span></a>
|
||||
<a id='domains_title' href='{$domains_app_path}'>{$text.theme_title_domains}<div class='count' id='domain_count' style='font-size: 80%;'></div></a>
|
||||
<br><br>
|
||||
<input type='text' id='domains_search' class='formfld' style='margin-left: 0; min-width: 100%; width: 100%;' placeholder="{$text.theme_label_search}" onkeyup="search_domains('domains_list');">
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user