Fixed problems with user edit when change language,see all fields in home screen. Tiquet: #2448

(cherry picked from commit bc54629604)
This commit is contained in:
m-lopez-f 2015-07-15 15:08:14 +02:00
parent d33b097a4b
commit c4a598890a
1 changed files with 8 additions and 8 deletions

View File

@ -443,42 +443,42 @@ function show_data_section () {
section = $("#section").val();
switch (section) {
case <?php echo "'" . __('Dashboard') . "'"; ?>:
case <?php echo "'" . 'Dashboard' . "'"; ?>:
$("#text-data_section").css("display", "none");
$("#dashboard").css("display", "");
$("#visual_console").css("display", "none");
break;
case <?php echo "'" . __('Visual console') . "'"; ?>:
case <?php echo "'" . 'Visual console' . "'"; ?>:
$("#text-data_section").css("display", "none");
$("#dashboard").css("display", "none");
$("#visual_console").css("display", "");
break;
case <?php echo "'" . __('Event list') . "'"; ?>:
case <?php echo "'" . 'Event list' . "'"; ?>:
$("#text-data_section").css("display", "none");
$("#dashboard").css("display", "none");
$("#visual_console").css("display", "none");
break;
case <?php echo "'" . __('Group view') . "'"; ?>:
case <?php echo "'" . 'Group view' . "'"; ?>:
$("#text-data_section").css("display", "none");
$("#dashboard").css("display", "none");
$("#visual_console").css("display", "none");
break;
case <?php echo "'" . __('Tactical view') . "'"; ?>:
case <?php echo "'" . 'Tactical view' . "'"; ?>:
$("#text-data_section").css("display", "none");
$("#dashboard").css("display", "none");
$("#visual_console").css("display", "none");
break;
case <?php echo "'" . __('Alert detail') . "'"; ?>:
case <?php echo "'" . 'Alert detail' . "'"; ?>:
$("#text-data_section").css("display", "none");
$("#dashboard").css("display", "none");
$("#visual_console").css("display", "none");
break;
case <?php echo "'" . __('Other') . "'"; ?>:
case <?php echo "'" . 'Other' . "'"; ?>:
$("#text-data_section").css("display", "");
$("#dashboard").css("display", "none");
$("#visual_console").css("display", "none");
break;
case <?php echo "'" . __('Default') . "'"; ?>:
case <?php echo "'" . 'Default' . "'"; ?>:
$("#text-data_section").css("display", "none");
$("#dashboard").css("display", "none");
$("#visual_console").css("display", "none");