Closed (fixed)
Project:
TinyMCE Node Picker
Version:
6.x-2.0
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
8 Feb 2010 at 10:55 UTC
Updated:
3 Mar 2010 at 08:20 UTC
Hi,
I would like to report two bugs in tinymce-node-picker-page.tpl.php:
1.) print $tabs; is surrounded by
, because $tabs already contains
, it is printed twice and thus yield incorrect HTML.
2.) The template contains
I've attached a patch which solves these issues.
Thanks in advance.
| Comment | File | Size | Author |
|---|---|---|---|
| page.tpl_.patch | 308 bytes | Robbert |
Comments
Comment #1
Robbert commentedI forgot to press the "preview" button of my bug report whence I didn't see that I have forgotten to escape my code properly. Unfortunately I'm unable to edit, so let me repost my message such that it makes sense. My apologies.
1.)
<?php print $tabs; ?>is surrounded by<ul class="tabs primary"></ul>, because$tabsalready contains<ul class="tabs primary"></ul>, it is printed twice and thus yields incorrect HTML.2.) The template contains
<body><div id="nodepicker">, I suggest moving the attributeid="nodepicker"to the body element. In that way it's easier to style the popup. For example, in our site's theme the background is colored, but that behavior is undesired for popups. Now I'm only able to change the background of the<div>element and not the complete<body>.Comment #2
peter törnstrand commentedSounds reasonable. Will fix.
Comment #3
peter törnstrand commented