Made link pattern case insensitive to match uppercase <A> tags in IE. This
fixes the following bug: When you set a note as a startup note and add its link to the note tree in IE6, the link isn't added with a visible expander even if it has child links.
This commit is contained in:
parent
4398d07d4c
commit
ec526e9e41
|
@ -2613,7 +2613,7 @@ Note_tree.prototype.link_clicked = function ( event ) {
|
||||||
event.stop();
|
event.stop();
|
||||||
}
|
}
|
||||||
|
|
||||||
LINK_PATTERN = /<a\s+([^>]+\s)?href="[^"]+"[^>]*>/;
|
LINK_PATTERN = /<a\s+([^>]+\s)?href="[^"]+"[^>]*>/i;
|
||||||
|
|
||||||
Note_tree.prototype.add_root_link = function ( editor ) {
|
Note_tree.prototype.add_root_link = function ( editor ) {
|
||||||
// for now, only add startup notes to the note tree
|
// for now, only add startup notes to the note tree
|
||||||
|
|
Reference in New Issue