fix minor error module editor network
Former-commit-id: c0f2c03b441f939b842303186ecdf2ace5c253b6
This commit is contained in:
parent
c0869b3c9e
commit
6d8b73f72e
|
@ -573,7 +573,7 @@ ui_require_javascript_file ('pandora_modules');
|
||||||
?>
|
?>
|
||||||
<script language="javascript">
|
<script language="javascript">
|
||||||
/* <![CDATA[ */
|
/* <![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 __('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') ?>";
|
||||||
|
@ -582,9 +582,6 @@ var no_execute_test_from = "<?php echo __('No server provided') ?>"
|
||||||
|
|
||||||
$(document).ready (function () {
|
$(document).ready (function () {
|
||||||
configure_modules_form ();
|
configure_modules_form ();
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
$("#module_form").submit(function() {
|
$("#module_form").submit(function() {
|
||||||
if (typeof(check_remote_conf) != 'undefined') {
|
if (typeof(check_remote_conf) != 'undefined') {
|
||||||
|
|
|
@ -251,10 +251,6 @@ snmp_browser_print_container (false, '100%', '60%', 'none');
|
||||||
?>
|
?>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
$(document).ready (function () {
|
$(document).ready (function () {
|
||||||
|
|
||||||
network_component_group_change_event();
|
|
||||||
$('#network_component_group').trigger('change');
|
|
||||||
|
|
||||||
$("#id_module_type").change(function (){
|
$("#id_module_type").change(function (){
|
||||||
if ((this.value == "17") || (this.value == "18") || (this.value == "16") || (this.value == "15")) {
|
if ((this.value == "17") || (this.value == "18") || (this.value == "16") || (this.value == "15")) {
|
||||||
if ($("#snmp_version").val() == "3"){
|
if ($("#snmp_version").val() == "3"){
|
||||||
|
|
|
@ -25,10 +25,20 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
$.fn.showMessage = function (msg) {
|
$.fn.showMessage = function (msg) {
|
||||||
return $(this).hide ().empty ()
|
return $(this)
|
||||||
.text (msg)
|
.hide ()
|
||||||
.slideDown ();
|
.empty ()
|
||||||
};
|
.html (
|
||||||
|
'<table cellspacing="0" cellpadding="0" id="" class="info_box error textodialogo" style="">'
|
||||||
|
+ '<tbody>' + '<tr>'
|
||||||
|
+ '<td class="icon" rowspan="2" style="padding-right: 10px; padding-top: 3px;"><img src="http://localhost/pandora_console/images/err.png"></td>'
|
||||||
|
+ '<td class="title" style="text-transform: uppercase; padding-top: 10px;"><b>Error</b></td>'
|
||||||
|
+ '</tr><tr>'
|
||||||
|
+ '<td style="color:#333;padding-top:10px">'+msg+'</td>'
|
||||||
|
+ '<td></td></tr></tbody></table>'
|
||||||
|
)
|
||||||
|
.slideDown ();
|
||||||
|
};
|
||||||
}) (jQuery);
|
}) (jQuery);
|
||||||
|
|
||||||
$(document).ready (function () {
|
$(document).ready (function () {
|
||||||
|
|
Loading…
Reference in New Issue