Login Register

dijit.DateTextBox Calendar and back arrow

I'm using Firefox 2 and Dojo 1.1. I'm using a DateTextBox in a ContentPane. The calendar that shows up when clicking on the box has a forward arrow at the top right, but no corresponding back arrow at the top left.

test_DateTextBox.html works correctly for me.

The following two files reproduce the problem:

<head>
    <style type="text/css">
        @import "http://o.aolcdn.com/dojo/1.1.0/dijit/themes/tundra/tundra.css";
        @import "http://o.aolcdn.com/dojo/1.1.0/dojo/resources/dojo.css"
    </style>
    <script type="text/javascript" src="http://o.aolcdn.com/dojo/1.1.0/dojo/dojo.xd.js"
            djConfig="parseOnLoad: true">

    </script>
    <script type="text/javascript">
        dojo.require("dojo.parser");
        dojo.require("dijit.layout.TabContainer");
        dojo.require("dijit.form.Form");
        dojo.require("dijit.form.DateTextBox");
        dojo.require("dojox.layout.ContentPane");
    </script>
  </head>
  <body class="tundra">
    <div id="mainTabContainer" dojoType="dijit.layout.TabContainer" doLayout="false">
    <div id="contentPane" dojoType="dojox.layout.ContentPane" title="Content"
         href="contentDateTextBox.html" selected="true">

    </div>
    </div>
</body>

contentDateTextBox.html:

<body>
<form dojoType="dijit.form.Form" id="testForm" method="" action="">

<table>
<tr>
  <td>Ending after:
    <input type="text" dojoType="dijit.form.DateTextBox" name="startDateSearch"
               id="startDateSearch" />
MM/DD/YYYY</td>
</tr>
</table>
</form>
</body>

I can't find the ticket, but

I can't find the ticket, but I think we fixed this recently. You might want to check this against the trunk.

location of delta

Thanks. Is this ticket 6406. If so, I can wait for 1.1.1 (we're redistributing Dojo as part of our application).

not sure

I seem to remember something else in trac, but cannot find it. Feel free to check out 1.1.1rc1... 1.1.1 should be out by Monday

still a problem with Firefox on the Mac

Where can I find the release candidate? Things actually work correctly with 1.1.0 with Firefox on Windows, and I checked the 5-08 nightly build there without realizing that. Safari works with the nightly build (haven't checked 1.1.0). With Firefox on the Mac, there is still the same problem with that nightly build.

http://download.dojotoolkit.org/release-1.1.1rc1/

the nightly builds are on trunk

if you still see a problem on the nightlies, please file a ticket with a test case. thanks

found fix (#6462)

I found the fix which works for 1.1.0 in ticket 6462, i.e. adding the following at the top of the main page

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
        "http://www.w3.org/TR/html4/strict.dtd">