2011-04-20 Javier Lanz <javier.lanz@artica.es>

* godmode/alerts/configure_alert_action.php: Fixed a small bug about
	entities on "Command preview"

	Fix: #3276373


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4267 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
javilanz 2011-04-20 14:08:12 +00:00
parent 480688a7b4
commit c530229a70
2 changed files with 11 additions and 1 deletions

View File

@ -1,3 +1,10 @@
2011-04-20 Javier Lanz <javier.lanz@artica.es>
* godmode/alerts/configure_alert_action.php: Fixed a small bug about
entities on "Command preview"
Fix: #3276373
2011-04-20 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_graph.php: Fixed some mistakes of my last commit.

View File

@ -152,7 +152,10 @@ ui_require_javascript_file ('pandora_alerts');
<script type="text/javascript">
$(document).ready (function () {
<?php if ($id_command) : ?>
original_command = "<?php echo alerts_get_alert_command_command ($id_command); ?>";
original_command = "<?php $command = get_alert_command_command ($id_command);
$command = safe_output($command);
echo addslashes($command);
?>";
render_command_preview ();
<?php endif; ?>
$("#id_command").change (function () {