Opened 13 years ago

Closed 13 years ago

#869 closed defect (duplicate)

Xinha example broken in IE7

Reported by: guest Owned by: akaEdge
Priority: highest Milestone: Version 1.0
Component: Documentation Version:
Severity: blocker Keywords: IE7
Cc:

Description

When someone navigates to the Example page http://xinha.gogo.co.nz/xinha-nightly/examples/full_example.html in IE7 Xinha throws a js error for line 1648. The lines below appear hilighted in the debugger:

{
      textarea.form.xinha_submit = textarea.form.submit;
      textarea.form.submit = function()
      {
        for ( var i = this.elements.length; i--; )
        {
          var element = this.elements[i];
          if ( element.type != 'textarea' ) continue;
          for ( var a = __htmlareas.length; a--; )
          {
            var editor = __htmlareas[a];
            if ( editor && editor._textArea == element)
            {
              element.value = editor.outwardHtml(editor.getHTML());
            }
          }
        }
        this.xinha_submit();
      };
    }
  }

The tool bar appears, but the view stays in code view, with a smaller text area above it. It works fine in Firefox.

Change History (4)

comment:1 Changed 13 years ago by mharrisonline

The same thing happens in IE6.

comment:2 Changed 13 years ago by ray

I have set the ext_example as standard example in the wiki, as a broken example is not exactly advertising.
But may changeset [599] has to be reverted, if it break the people's setups

comment:3 Changed 13 years ago by wymsy

I disabled changeset:599 in changeset:602. Sorry about that, it worked in IE in my system, but clearly there is a problem.

comment:4 Changed 13 years ago by wymsy

  • Resolution set to duplicate
  • Status changed from new to closed

Let's continue the discussion of this in ticket #823, and close this as a duplicate.

Note: See TracTickets for help on using tickets.