Opened 5 years ago

Closed 3 years ago

#17580 closed defect (fixed)

[patch] dojox.widget.MultiSelectCalendar IE8 date NaN

Reported by: MaMaRo Owned by: dylan
Priority: undecided Milestone: 1.11
Component: DojoX Widgets Version: 1.8.3
Keywords: Cc:
Blocked By: Blocking:

Description

It's not possible to load multiple Dates in a MultiSelectCalendar? with the IE8.

if i convert the date with (dojo.date.stamp.fromISOString)it works in ie8

<div data-dojo-props="dayWidth:'abbr',value:dojo.date.stamp.fromISOString('2013-11-14')" id="msc1" style="z-index:40;width:240px;height:180px;" dojoType="dojox.widget.MultiSelectCalendar"  style="display:inline-block"></div>

when i doesn't, it doesn't work in ie 8

<div data-dojo-props="dayWidth:'abbr',value:'2013-11-14'" id="msc1" style="z-index:40;width:240px;height:180px;" dojoType="dojox.widget.MultiSelectCalendar"  style="display:inline-block"></div>

previously i used the following code which works in all browsers except IE8 and lower

<div data-dojo-props="dayWidth:'abbr'" id="msc1" style="z-index:40;width:240px;height:180px;" dojoType="dojox.widget.MultiSelectCalendar" value=['2013-11-14','2013-11-15'] style="display:inline-block"></div>

How i set multiple values with IE8 ???

Change History (3)

comment:1 Changed 5 years ago by MaMaRo

Okay, i have a bug fix...

https://github.com/dojo/dojox/blob/master/widget/MultiSelectCalendar.js line 172

from

lastDate = lastElement;

to

lastDate = new dojo.date.stamp.fromISOString(lastElement);

Now it works with IE7 and IE8

comment:2 Changed 3 years ago by dylan

Milestone: tbd1.11
Owner: set to dylan
Status: newassigned
Summary: dojox.widget.MultiSelectCalendar IE8 date NaN[patch] dojox.widget.MultiSelectCalendar IE8 date NaN

comment:3 Changed 3 years ago by dylans <dylan@…>

Resolution: fixed
Status: assignedclosed

In 17fc4383cc029a289d92cc3916fc473106b7ade4/dojox:

Error: Processor CommitTicketReference failed
Unsupported version control system "git": Can't find an appropriate component, maybe the corresponding plugin was not enabled? 
Note: See TracTickets for help on using tickets.