mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-27 07:44:35 +02:00
#13010 Fixed services 3
This commit is contained in:
parent
75eb8e2558
commit
e5e857116b
@ -909,8 +909,13 @@ function findInSelect(selectid, find){
|
|||||||
|
|
||||||
$('#image').on('change', function() {
|
$('#image').on('change', function() {
|
||||||
var img = $(this).val();
|
var img = $(this).val();
|
||||||
$('#image_prev').html('<img src="<?php echo $config['homeurl']; ?>/images/console/icons/'+img+'.png">');
|
var src = "<?php echo $config['homeurl']; ?>"+`/images/console/icons/${img}.png`;
|
||||||
})
|
if (metaconsole_enabled) {
|
||||||
|
src = "<?php echo $config['homeurl']; ?>"+`../../images/console/icons/${img}.png`;
|
||||||
|
}
|
||||||
|
|
||||||
|
$('#image_prev').html(`<img src="${src}">`);
|
||||||
|
});
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user