Login Register

ie7

SOLVED: Fix for dojo.addOnLoad with IE (Dojo 1.1)

Hello,

I've recently bumped into a dojo.addOnLoad bug with IE6: It can execute the passed function even if document's readystate is currently "loading".

Here's a way to patch dojo.addOnLoad:

    //dojo.addOnLoad patch if IE
    if(dojo.isIE){
        //Saving a copy of the original function.
        var origAddOnLoad=dojo.addOnLoad;
        //Wrapping it.
        dojo.addOnLoad=function(){
            var args=arguments;
            if(document.readyState=="complete"){

Evaluation of content pane scripts in ie7

Hi,

I have the following problem. I would like to load the content pane from URL:

<div dojoType="dijit.layout.AccordionContainer" sizeMin="20" sizeShare="20" evalScripts="true">
  <div dojoType="dijit.layout.AccordionPane" title="Class Hierarchy" href="/treeDiv.html" loadingMessage="Loading Class Tree Hierarchy..." evalScripts="true">
  </div>
<div>

The URL treeDiv.html have scripts (dojo/method and dojo/connect) and dijit widgets:

dijit.Dialog changing font family of the underlying page font after closed by clicking the x in IE 7

I have a Dialog and it works fine in both IE 7 and FF 2 but in IE 7 when I close the Dialog the font family of the page behind it changes. it looks like it is going from the dojo styled font to Times New Roman or something the font size may be changing too

Dojo doesn't load first time through on IE7 - refresh and all is well

Have a very simple piece of code. FF2 works fine first time hitting. IE7 doesn't work until you refresh. Why?

Code:

--->
 

Xhrget....don't word i IE7 if the return JSON have a charset="iso8859-1"

If I have a web server that return a page JSON with this content-type:
**************************************************************
"Print |content-type: text/plain; charset="ISO8859-15"; |"
**************************************************************

And I execute a xrget in Firefox all work corretly and I see the data JSON with special caracters..

But in IE7 don't work...

What's the problem?

And the solution?

How I can call correctly a xhrget of specific charset...?

Tnx

Border issue in IE w Tab container

We're having an issue with an internal application.

In IE 6/7 there is one border missing on the page load. But, if we resize the browser at all, it shows up and stays until the page is reloaded.

It's the border on the right side of the panels.

Any ideas? I didn't see anything in the search results that addressed this.

My feeling is that I need a position:relative or work on clearing something somewhere, but I've tried many different things so far and nothing has helped.

- Andy

Plugins & IE 6/7

OK this has to be something stupid on my part but hear me out: I can't get any dijit editor plugins to load in IE (not the "built-in" plugins, but plugins located in dijit/_editor/plugins/MyPlugin.js). This includes default plugins like LinkDialog.js. Now I could have sworn this worked before but I over-wrote my changed plugins with the "factory default" ones and still get the same issue. IE (both 6 and 7) tells me "Could not load dijit._editor.plugins.LinkDialog.js (last tried ../dijit/_editor/plugins/LinkDialog.js)".

Programatic HorizontalSlider Widget misplaces HorizontalRule with topDecoration

I am developing a dijit Widget that wraps a HorizonalSlider and HorizontalRule object. This is working as expected in Firefox 2 but when I run this in IE7, the HorizontalRule is being attached to the bottomDecoration table row. Has anyone else experienced this? See below code example.

Note, Vertical Slider works with rightDecoration and leftDecoration. HorizontalSlider only works with bottomDecoration. I have also tested with dojo 1.02 and dojo 1.1 B3

dojo.declare("mySlider",[dijit._Widget, dijit._Templated], {

latest dojo 1.0.2 button cutting off from bottom in ie 7

with either soria or tundra the button gets cut off from bottom in ie7.

I saw the patch earlier provided by Foster but that doesn't seem to work.

here is my code.

Stats!

@import "js/dijit/themes/tundra/tundra.css";

 

dojo.require("dijit.form.Form");

Dijit.TextBox widget slow focusing performance on IE6, IE7. OK on FF

hi everybody!

When I add a large number of dijit TextBox widgets to my page (say around 75). the focusing of the TextBox widgets via mouse click becomes really slow in IE6 and IE7 (around 500ms). Tabbing the focus works a little faster but the lag is still noticable. In addition, these TextBox widgets are causing the menu on my page to lag.

On Firefox 2, everything works just fine.

I'm using a nightly build from about a week ago.

anyone out there seeing something similar? any suggestions?

thanks

Syndicate content