Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-10110

Can not use the Japanese in the "Search" textbox in Firefox.

XMLWordPrintable

      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;
      
      

            Unassigned Unassigned
            kazuo.ito Kazuo Ito
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: