[ZBX-10110] Can not use the Japanese in the "Search" textbox in Firefox. Created: 2015 Nov 20  Updated: 2017 May 30  Resolved: 2015 Dec 21

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 2.2.10, 2.4.7
Fix Version/s: 2.2.12rc1, 2.4.8rc1, 3.0.0alpha5

Type: Incident report Priority: Trivial
Reporter: Kazuo Ito Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: firefox, globalsearch
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

FireFox


Issue Links:
Duplicate

 Description   

Can not use the Japanese in the "Search" textbox in Firefox.
Character will clear when press the Enter key.

Other browsers was no problem.

Firefox in Japanese mode seems keyPressed does not occur.

keyPressed: function(e){
	this.debug('keyPressed');
//---

	if(!e) e = window.event;
	var key = e.keyCode;

	switch(true){
		case(key == 27):
			this.hlIndex = 0;
			this.suggestCount = 0;
			this.removeHighLight(e);
			this.setNeedleByHighLight(e);
			this.hideSuggests(e);
			break;
		case(key==13):
			Event.stop(e);
			this.selectSuggest(e);
			break;
		case(key == 37 || key == 39 || key == 9): // left, right, tab
			break;
		case(key==38): // up
			this.keyUp(e);
			break;
		case(key==40): // down
			this.keyDown(e);
			break;
		default:
			this.needleChange(e); <-- here!
	}

It was possible to input Once you have changed as follows.

		case(key==13):
			this.needleChange(e);
			Event.stop(e);
			this.selectSuggest(e);
			break;



 Comments   
Comment by Gunars Pujats (Inactive) [ 2015 Nov 24 ]

(1) No translation strings changed.

iivs CLOSED

Comment by Gunars Pujats (Inactive) [ 2015 Nov 24 ]

RESOLVED in development branch svn://svn.zabbix.com/branches/dev/ZBX-10110

Comment by Ivo Kurzemnieks [ 2015 Dec 11 ]

(2) Entering a name and pressing left or right, now changes the suggestion list too.

gunarspujats RESOLVED in r57154

iivs CLOSED

Comment by Ivo Kurzemnieks [ 2015 Dec 11 ]

(3) On IE with japanese language, when cursor is not at the end and when pressing enter, the cursor jumps to the end and no longer executes the search.

gunarspujats RESOLVED in r57154

iivs CLOSED

Comment by Ivo Kurzemnieks [ 2015 Dec 14 ]

TESTED

Comment by Gunars Pujats (Inactive) [ 2015 Dec 15 ]

Fixed in:

  • pre-2.2.12rc1 r57178
  • pre-2.4.8rc1 r57179
  • pre-3.0.0alpha5 (trunk) r57180
Generated at Thu Apr 25 21:00:52 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.