Opened 11 years ago

Closed 11 years ago

#1129 closed defect (no action needed)

colorpicker breaks when xinha accessed from external folder

Reported by: guest Owned by: gogo
Priority: highest Milestone: 0.96
Component: Xinha Core Version:
Severity: normal Keywords:
Cc:

Description

The example works fine.
But when I try to access xinha from a different folder it breaks.

When I click to change text color I get.

Error: Xinha.colorPicker is not a constructor
Source File: /XinhaCore?.js
Line: 4494

I'm using firefox. Tried absolute and relative urls for _editor_url.
Tried with the latest release and nightly version.

Change History (4)

comment:1 Changed 11 years ago by ray

  • Milestone changed from Version 1.0 to 0.96

please give a little more detailed explanation.

comment:2 Changed 11 years ago by guest

this is what i get now:

Error: Xinha.colorPicker is not a constructor
Source File: /js/xinha_0.95_RC1/XinhaCore.js
Line: 2338

It works if my file is calling xinha from the examples dir. But when the file is in a totally different dir it breaks.

comment:3 Changed 11 years ago by guest

I originally reported this and just tested this in 0.95 and it now works.

please mark this off.

AdamJ

comment:4 Changed 11 years ago by ray

  • Resolution set to no action needed
  • Status changed from new to closed

OK, thanks

Note: See TracTickets for help on using tickets.