mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
Improved error message
This commit is contained in:
parent
e86d8b761d
commit
ef3dd0e741
@ -1509,12 +1509,10 @@ require 'include/php_to_js_values.php';
|
|||||||
<?php if (empty($errorFileOutput) === false) : ?>
|
<?php if (empty($errorFileOutput) === false) : ?>
|
||||||
// There are one issue with the file that you trying to catch. Show a dialog with message.
|
// There are one issue with the file that you trying to catch. Show a dialog with message.
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
$('body').append('<div id="modalAlert"><?php echo io_safe_output($errorFileOutput); ?></div>');
|
confirmDialog({
|
||||||
$("#modalAlert").dialog ({
|
title: "<?php echo __('Error'); ?>",
|
||||||
title: '<?php echo __('Error'); ?>',
|
message: "<?php echo io_safe_output($errorFileOutput); ?>",
|
||||||
resizable: false,
|
hideCancelButton: true,
|
||||||
draggable: false,
|
|
||||||
width: 450
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user