Firefox issue: gantt.getLightboxSection('').setValue('');

Hello,

When I do that: “gantt.getLightboxSection(’’).setValue(’’);” on all browsers even IE, it is working, the value of my select go to nothing, but in firefox that doesn’t work.

I put here an easy example (maybe stupid but it is for the example :p) of the code:

		var demo_tasks = {
			"data":[
				{"id":11, "text":"Project #1", "start_date":"", "duration":"", "progress": 0.6, "open": true},

				{"id":12, "text":"Task #1", "start_date":"03-04-2013", "duration":"5", "parent":"11", "progress": 1, "open": true},
			],
		};

		var list = [{key: 0, label:''}, {key: 1, label:'coucou'}, {key: 2, label:'toto'}];

	gantt.locale.labels.section_test = "test";
		gantt.config.lightbox.sections = [
			{name: "description", height: 70, map_to: "text", type: "textarea", focus: true},
            {name: "test", height: 30, type: "select", focus: true, options: list, default_value: null, onchange: function () {
            gantt.getLightboxSection('test').setValue('');
            } },
			{name: "time", height: 72, type: "duration", map_to: "auto"},
		];


		gantt.init("gantt_here");

		gantt.parse(demo_tasks);

http://jsfiddle.net/od5qfzz5/

Hello,
Seems like due to the current implementation, the select input does not provide a way to reset a selection on select control. Although it does not prevent setting a value that is not presented in a list of options, which resets the selection in most browsers but not in FF.
github.com/DHTMLX/gantt/blob/v4 … t.js#L6314
As a workaround, you can manually adjust selectedIndex of a control when it’s needed:

gantt.getLightboxSection('test').setValue(''); gantt.getLightboxSection("test").control.seletedIndex = -1;