mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 16:33:17 +01:00
Take user's number format into account when set date duration widget. Fixes duration widget doesn't accept "," as decimal separator in Firefox.
This commit is contained in:
parent
2e078df6d4
commit
c8f98f3fee
@ -722,7 +722,7 @@ var et2_date_duration = (function(){ "use strict"; return et2_date.extend(
|
||||
.addClass('et2_date_duration');
|
||||
this.duration = jQuery(document.createElement("input"))
|
||||
.addClass('et2_date_duration')
|
||||
.attr({type: 'number', size: 3, step:this.options.step});
|
||||
.attr({type: 'number', size: 3, step:this.options.step, lang: this.egw().preference('number_format')[0] === "," ? "en-150": "en-001"});
|
||||
this.node.append(this.duration);
|
||||
|
||||
if(this.options.display_format.length > 1)
|
||||
|
Loading…
Reference in New Issue
Block a user