fix missing quote
This commit is contained in:
parent
d10d5201ac
commit
7c3ab46408
|
@ -102,7 +102,7 @@ var labels = new Array();
|
||||||
$labels = array();
|
$labels = array();
|
||||||
foreach (dbFetchAll('SELECT * FROM ControlPresets WHERE MonitorId = ?', NULL, array($monitor->Id())) as $row) {
|
foreach (dbFetchAll('SELECT * FROM ControlPresets WHERE MonitorId = ?', NULL, array($monitor->Id())) as $row) {
|
||||||
$label = $labels[$row['Preset']] = $row['Label'];
|
$label = $labels[$row['Preset']] = $row['Label'];
|
||||||
echo 'labels['. validInt($index) .'] = '.validJsStr($label).'\'';
|
echo 'labels['. validInt($index) .'] = \''.validJsStr($label).'\'';
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
var deleteString = "<?php echo translate('Delete') ?>";
|
var deleteString = "<?php echo translate('Delete') ?>";
|
||||||
|
|
Loading…
Reference in New Issue