mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 08:14:38 +02:00
Merge branch 'ent-6289-Item-import-text-from-url-tiene-que-ser-items-de-la-ruta-de-consola-si-no-falla' into 'develop'
added warning message See merge request artica/pandorafms!3442
This commit is contained in:
commit
81cdfdbaa1
@ -1922,6 +1922,7 @@ $class = 'databox filters';
|
|||||||
250
|
250
|
||||||
);
|
);
|
||||||
?>
|
?>
|
||||||
|
<span id="url_warning_text" class="error" style="display: none; font-weight: bold;"><?php echo __('Protocol must be specified in URL (e.g.: "https://")'); ?></span>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr id="row_field_separator" style="" class="datos">
|
<tr id="row_field_separator" style="" class="datos">
|
||||||
@ -3671,6 +3672,18 @@ $(document).ready (function () {
|
|||||||
$("#inventory_modules").html('');
|
$("#inventory_modules").html('');
|
||||||
})
|
})
|
||||||
|
|
||||||
|
$("#text-url").keyup (
|
||||||
|
function () {
|
||||||
|
const user_typed_url = $(this).val();
|
||||||
|
|
||||||
|
if (user_typed_url.match('^.+:\/\/')) {
|
||||||
|
$("#url_warning_text").hide();
|
||||||
|
} else {
|
||||||
|
$("#url_warning_text").show();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
);
|
||||||
|
|
||||||
$("#combo_group").change (
|
$("#combo_group").change (
|
||||||
function () {
|
function () {
|
||||||
$("#id_agents").html('');
|
$("#id_agents").html('');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user