Using Get Satisfacation on site and want to eliminated the all GS Tabs in modal iframes (popups).

Ideas?

Comments

flevour’s picture

Status: Active » Closed (fixed)

The only way I see this feasible without touching the module is modifying the modalframe template (or achieving the same result via a preprocess_page hook), adding a class named "getsatisfaction-processed" to the body tag.
In fact the GS activation code checks for that class on the body tag and if it doesn't find it, it attaches the GS code to the page.
Hope this helps, feel free to reopen if needed.
Francesco

    $script .= '$("body:not(.getsatisfaction-processed)").each(function() {';
    $script .= '  $(this).addClass("getsatisfaction-processed");';
    $script .= '  var feedback_widget = new GSFN.feedback_widget(Drupal.settings.getsatisfaction);';
    $script .= '});';