mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
13225-Fix warning tip learning mode. Show only in Normal mode
This commit is contained in:
parent
c43c7c99ca
commit
6bb3c72bb6
@ -1433,15 +1433,15 @@ ui_require_jquery_file('bgiframe');
|
||||
|
||||
function show_modules_not_learning_mode_context_help() {
|
||||
if ($("input[name='modo'][value=0]").is(':checked')) {
|
||||
$("#modules_not_learning_mode_context_help").show().css('padding-right','8px');
|
||||
}
|
||||
else {
|
||||
$("#modules_not_learning_mode_context_help").hide();
|
||||
$(".div-modules_not_learning_mode").show();
|
||||
} else {
|
||||
$(".div-modules_not_learning_mode").hide();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
$(document).ready (function() {
|
||||
show_modules_not_learning_mode_context_help();
|
||||
|
||||
var $id_agent = '<?php echo $id_agente; ?>';
|
||||
var previous_primary_group_select;
|
||||
|
@ -330,7 +330,7 @@ function clippy_context_help($help=null)
|
||||
);
|
||||
}
|
||||
|
||||
$return = $code.'<div id="'.$id.'" class="inline"><a onclick="show_'.$id.'();" href="javascript: void(0);" >'.$img.'</a></div>
|
||||
$return = $code.'<div id="'.$id.'" class="inline div-'.$help.'"><a onclick="show_'.$id.'();" href="javascript: void(0);" >'.$img.'</a></div>
|
||||
<script type="text/javascript">
|
||||
|
||||
function show_'.$id.'() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user