My favorites | Sign in
Project Home Downloads
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 79: dtnote.data.title contains <ul> when having chrildren
1 person starred this issue and may be notified of changes. Back to list
Status:  Verified
Owner:  moo...@wwwendt.de
Closed:  Mar 2009


 
Reported by peterlin...@gmail.com, Feb 23, 2009
What steps will reproduce the problem?
1. using onClick(dtnote, event) and alerting dtnote.data.title

What is the expected output? What do you see instead?
I expect to see "title" and not "title<ul>".

What version of the product are you using? Lastest Beta 0.4

On what operating system and browser?
Ubuntu + FF 3
Windows + FF 3
Windows + Safari 3.2.1

Works like expected on
Windows + IE 7
Windows + IE 6




Feb 23, 2009
Project Member #1 moo...@wwwendt.de
Could you attach a running example (e.g. html file, that i can drop in the 'doc' folder)?
Status: Accepted
Owner: moo...@wwWendt.de
Feb 23, 2009
#2 peterlin...@gmail.com
Ah, i played abit with it. And it is caused by not having any whitespace.
I had something like

... <li>Foo<ul><li>Bar ....

But when inserting a space like

... <li>Foo <ul><li>Bar...

 it works.

Dont know if is a problem/bug then, but maybe something to notice in the docs.


Feb 23, 2009
Project Member #3 moo...@wwwendt.de
If markup is added to the title '<li>'s it should be valid html.
For example "<li>hello <b>world</b>."

If it get's more complicated try wrapping it intpo a span:
For example "<li><span>hello <b>world</b>.</span>"

Does this work?
Labels: Milestone-Release0.4
Feb 24, 2009
#4 peterlin...@gmail.com
The HTML tag <ul> is not some markup that i want to be a part of my item, its simply
the child tree.

But, when having a space between "<li>foo" and "<ul>" it works.

The dynatree added <ul> as html markup, but infact it where a subtree
Mar 8, 2009
Project Member #5 moo...@wwwendt.de
Fixed with r191
Status: Fixed
Labels: -Priority-Medium Priority-Low
Jul 17, 2012
Project Member #6 moo...@wwwendt.de
considered verified
Status: Verified

Powered by Google Project Hosting