Needs work
Project:
Frameprevention
Version:
6.x-1.0
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
18 Apr 2009 at 07:49 UTC
Updated:
27 Sep 2011 at 15:46 UTC
Jump to comment: Most recent file
Comments
Comment #1
couloir007 commentedI've created a white list patch that may be of use.
Comment #2
couloir007 commentedFor anyone interested, I also created a sub module that does this too, although it's not as elegant as the patch given the way the js is added to the head.
Comment #3
deekayen commentedThe patch doesn't meet Drupal coding standards.
Change tabs to two spaces, add a space between if and the opening parenthesis, only the first letter of the form element title should be capitalized, once you find a match break out of the foreach loop so you don't unnecessarily loop domains after a match, and variable_get() should have a default value.
Comment #4
couloir007 commentedI updated the patch to meet Drupal coding standards. I'm not sure what to do about the variable_get() since I did not modify it in any way from what was already in the module.