mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 05:43:55 -07:00
Added preview for country flags while editing (#1448)
This commit is contained in:
parent
0b2246b50b
commit
a43152b421
3 changed files with 16 additions and 1 deletions
|
@ -47,6 +47,11 @@ switch ($mode) {
|
|||
}
|
||||
break;
|
||||
|
||||
case 'check_country':
|
||||
$country = (string)$this->request['country'];
|
||||
$html = render_flag($country);
|
||||
break;
|
||||
|
||||
default:
|
||||
$this->ajax_die('Invalid mode: ' . $mode);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue