0

When devel_themer is active inside of a Fullcalendar formated View, links contain the span tag. See below in the href parameter. This however does go away when I disable devel_themer and clear cache.

<a unselectable="on" href="/%3Cspan%20thmr%3D%27thmr_73%27%20class%3D%27devel-themer-wrapper%27%3Enode/8%3C/span%3E" class="fc-event fc-event-skin fc-event-hori fc-event-draggable fc-corner-left fc-corner-right fc-event-default field-performance-dates fc-event-field-field-tic-performance-dates ui-draggable" style="position: absolute; z-index: 8; left: 558.667px; width: 104px; top: 139px; -moz-user-select: none;">
<div class="fc-event-inner fc-event-skin">
<span class="fc-event-time">11:15</span>

You can see in the status (bottom left) that the span tag (with devel_themer generated classes) is in the link.

enter image description here

This is what the Views Format Settings look like enter image description here

And the general Views Admin enter image description here

How might I fix this?

7
  • 1
    Fix what? How do you think devel is meant to work without them?
    – Alex Gill
    Dec 7, 2012 at 17:15
  • I'd like to remove the <span> tag inside the href="<span>...". That is the issue.
    – Rick
    Dec 7, 2012 at 17:16
  • But devel is just a development tool, you wouldnt have this running when not developing surely?
    – Alex Gill
    Dec 7, 2012 at 17:19
  • Yes, this is a development instance. However, I'd like to be able to click through a few pages without turning off and on devel_themer. I trust and know why the spans are there to help devel operate. However, I assume that it is not intentional to put <spans> in the <a href>
    – Rick
    Dec 7, 2012 at 17:23
  • Totally agree, however cant imagine the developers for devel could of counted on it working with everything.
    – Alex Gill
    Dec 7, 2012 at 17:25

1 Answer 1

1

There are a lot of little bugs with devel themer. I would just throw a little jquery in one of the js files in the devel_themer module directory to hide any spans in that tag

    $(document).ready(function() { 
$('#divnamecontainer a span').remove();
});

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.