Datatype blocks drupal pages from loading

NathanRAFT - January 8, 2008 - 13:46
Project:Cluetip
Version:5.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

First of all, thanks for the great module! Very Slick and very handy.

In jquery.cluetip.js the following does not allow drupal pages to be loaded. Removing the HTML enables pulling of drupal pages but does not filter out the elements identified below. Thus the entire theme is pulled into the cluetip.

ajaxProcess: function(data) {
        data = $(data).not('style, meta, link, script, title');
        return data;
      },
      ajaxSettings: {
        dataType: 'HTML'
      }

In order to get this to work inside of drupal I ended up creating a content type specific page.tlp and killed the theme. While this works, it would be nice to enable the module to prefilter out elements or to grab content to display from a specific element. Not sure how possible this is with the structure of the plugin.

Either way, again thanks!

 
 

Drupal is a registered trademark of Dries Buytaert.