mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 08:14:38 +02:00
2011-05-11 Vanessa Gil <vanessa.gil@artica.es>
* godmode/agentes/module_manager_editor.php include/javascript/pandora_modules.js: Fixed bug: Is possible to create a module plugin without module associated. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4337 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
566685548d
commit
d25a3dc9f9
@ -1,3 +1,8 @@
|
|||||||
|
2011-05-11 Vanessa Gil <vanessa.gil@artica.es>
|
||||||
|
|
||||||
|
* godmode/agentes/module_manager_editor.php
|
||||||
|
include/javascript/pandora_modules.js: Fixed bug: Is possible to create a module plugin without module associated.
|
||||||
|
|
||||||
2011-05-10 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
|
2011-05-10 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
|
||||||
|
|
||||||
* include/functions_io.php
|
* include/functions_io.php
|
||||||
|
@ -362,6 +362,7 @@ var no_name_lang = "<?php echo __('No module name provided') ?>";
|
|||||||
var no_target_lang = "<?php echo __('No target IP provided') ?>";
|
var no_target_lang = "<?php echo __('No target IP provided') ?>";
|
||||||
var no_oid_lang = "<?php echo __('No SNMP OID provided') ?>";
|
var no_oid_lang = "<?php echo __('No SNMP OID provided') ?>";
|
||||||
var no_prediction_module_lang = "<?php echo __('No module to predict') ?>";
|
var no_prediction_module_lang = "<?php echo __('No module to predict') ?>";
|
||||||
|
var no_plugin_lang = "<?php echo __('No plug-in provided') ?>";
|
||||||
|
|
||||||
$(document).ready (function () {
|
$(document).ready (function () {
|
||||||
configure_modules_form ();
|
configure_modules_form ();
|
||||||
|
@ -303,6 +303,12 @@ function configure_modules_form () {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ($("#id_plugin").attr ("value") == 0) {
|
||||||
|
$("#id_plugin").focus ();
|
||||||
|
$("#message").showMessage (no_plugin_lang);
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
moduletype = $("#hidden-moduletype").val ();
|
moduletype = $("#hidden-moduletype").val ();
|
||||||
if (moduletype == 5) {
|
if (moduletype == 5) {
|
||||||
if ($("#prediction_module").val () == null) {
|
if ($("#prediction_module").val () == null) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user