Different Browser, Different Drop Down Box View

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
raoul
Posts: 4
Joined: 21 Jul 2015, 14:55

Different Browser, Different Drop Down Box View

Post by raoul »

Hi,

I have an issue with the display of the sub-projects in the Drop Down Box in Internet explorer 11.
In Google Chrome the Sub-projects are shown as expected:
(underscores are spaces / jumps)

Main_Project
_>> Sub1
__>> >> Sub1_1
___>> >> >> Sub1_1_1
___>> >> >> Sub1_1_2
____>> >> >> >> Sub1_1_2_1
___>> >> >> Sub1_1_3
__>> >> Sub1_2
_>> Sub2
__>> >> Sub2_1
In Internet Explorer:
(no spaces / jumps)

Main_Project
>> Sub1
>> >> Sub1_1
>> >> >> Sub1_1_1
>> >> >> Sub1_1_2
>> >> >> >> Sub1_1_2_1
>> >> >> Sub1_1_3
>> >> Sub1_2
>> Sub2
>> >> Sub2_1
Is it possible to get the same view in Internet Explorer as in Google Chrome (with spaces)?
Any suggestions? (change code in files, change browser settings, etc.)


Internet Explorer 11
version: 11.0.9600.17843
update version: 11.0.20 (kb3058515)

MantisBT
version: 1.2.19
schema version: 183

Google Chrome
version: 43.0.2357.134 m

also tested with:
XAMPP Control Panel v3.2.1


Thanks in advance.
Attachments
Internet Explorer vs Google Chrome (Issue)(crop).png
Internet Explorer vs Google Chrome (Issue)(crop).png (130.94 KiB) Viewed 4330 times
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Different Browser, Different Drop Down Box View

Post by atrol »

I was not able to reproduce the issue.
The version I used is a newer one: 11.0.9600.17905, Updateversion: 11.0.21
Please use Search before posting and read the Manual
raoul
Posts: 4
Joined: 21 Jul 2015, 14:55

Re: Different Browser, Different Drop Down Box View

Post by raoul »

I have just updated my Internet Explorer to the latest version: 11.0.9600.17914, Updateversion: 11.0.21,
resetted all internet explorer settings, restarted the computer but the view stays the same.
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Different Browser, Different Drop Down Box View

Post by atrol »

What do you get on my test system?
http://www.atrol.de/mantisbt-1.2.19
Please use Search before posting and read the Manual
raoul
Posts: 4
Joined: 21 Jul 2015, 14:55

Re: Different Browser, Different Drop Down Box View

Post by raoul »

The test system does not have the extended project browser enabled.
Here it works fine.

The problem only occurs when the extended project browser is enabled.

Code: Select all

$g_show_extended_project_browser = ON;
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Different Browser, Different Drop Down Box View

Post by atrol »

Seems I was blind when looking at your screenshot, I just looked at the right dropdown and didn't notice that you set $g_show_extended_project_browser
I am now able to reproduce your issue.

Keep in mind that this setting will be removed in next verssion
https://www.mantisbt.org/bugs/view.php?id=19510#c49258

You can fix this by removing the following lines (554+555) from file core/print_api.php

Code: Select all

	echo '	if(htmlNode.innerText)' . "\n";
	echo '		return htmlNode.innerText; // IE' . "\n";
It seems that this code was needed for old IE versions.
Please use Search before posting and read the Manual
raoul
Posts: 4
Joined: 21 Jul 2015, 14:55

Re: Different Browser, Different Drop Down Box View

Post by raoul »

Many many thanks.

This fixed the problem!!
Post Reply