minor fix in control messages format and processing
Former-commit-id: bda61b3e6d6ef74090c215f9aa9d2f3db42456bd
This commit is contained in:
parent
fef1b55b5b
commit
c6b9122cfc
|
@ -573,7 +573,9 @@ ui_require_javascript_file ('pandora_modules');
|
|||
?>
|
||||
<script language="javascript">
|
||||
/* <![CDATA[ */
|
||||
var no_name_lang = "<?php echo __ui_print_info_message ( array('no_close'=>true, 'message'=> __('No module name provided') ) ); ?>";
|
||||
var no_name_lang =`
|
||||
<?php echo ui_print_info_message ( array('no_close'=>true, 'message'=> __('No module name provided') ) ); ?>
|
||||
`;
|
||||
var no_target_lang = "<?php echo __('No target IP provided') ?>";
|
||||
var no_oid_lang = "<?php echo __('No SNMP OID provided') ?>";
|
||||
var no_prediction_module_lang = "<?php echo __('No module to predict') ?>";
|
||||
|
|
|
@ -26,7 +26,8 @@
|
|||
|
||||
$.fn.showMessage = function (msg) {
|
||||
return $(this).hide ().empty ()
|
||||
.text (msg)
|
||||
// here, previously .text (msg)
|
||||
.html (msg)
|
||||
.slideDown ();
|
||||
};
|
||||
}) (jQuery);
|
||||
|
|
Loading…
Reference in New Issue