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 suggest moving the attribute id="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
element and not the complete body.
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