Testing out the module on a new site, I clicked the padlock then just hit cancel and now the page is locked. This is probably a bug with this module and not jquery_impromptu
Bug reproduced on firefox and chrome.

CommentFileSizeAuthor
#12 cck_field_privacy.js_.patch542 bytesphpninjas

Comments

likewhoa’s picture

update, seems like clicking anything will not bring page to normal nor set a lock on field.

Solldara’s picture

Priority: Normal » Critical

Already deleted one site because of this.

Now I've got it again - no idea how to get rid of it without deleting and starting again.

Help please.

More detail:

Pop up box appears with a grey diamond with a camera/lock or some kind of icon.

Won't allow me to click any link to access any part of the site as box appears.

I can click on close on the popup and the popup disappears but when I try to get into admin or click any menu link the pop up box appears again.

I've tried restarting server - that didn't help.

I can't access drupal via normal means because of popup

obsidiandesign’s picture

Assigned: Unassigned » obsidiandesign

I'm going to need more information - Drupal version #, JQuery version #, PHP version, etc. I'm not sure how it would suddenly appear, so I need to know exactly the setup that is causing it.

Solldara’s picture

I'm not ignoring you but I think I may know whats causing it so I've deleted site again and am trying again. I'll update this later this pm.

(I have got one site working perfectly inbetween these two deleted sites)

obsidiandesign’s picture

No problem, I just won't be able to provide any more help until Tuesday; I was trying to get this cleared up yesterday before I left.

Thanks,
Bryan

likewhoa’s picture

Drupal version 6.17
JQuery version 6.x
PHP version 4.3.5
Httpd NGINX 0.8.36

Anything else you need?

obsidiandesign’s picture

@likewhoa - using PHP version 4.3.5 is probably the issue; I don't have a way to test against PHP4, but I'll see if I can get a VM going with it to test the issue further. With PHP4 being EOL, I'm not sure I see a reason to support it, especially in the 6.x branch of the module, but I will investigate further.

likewhoa’s picture

sorry for the typo but it's actually on php-5.2.1

vishun’s picture

I am encountering this issue also and it appears that it might be related to a slue of errors received that can be seen with Firebug Console..

uncaught exception: Syntax error, unrecognized expression: [@type='checkbox']

http://img.vishun.com/ae39734a42e58c7f416fcb8a9705bfeb.png this starts occurring as soon as the lock icon is clicked. I was able to spot the AJAX post for a few seconds, but the errors make it disappear too quickly to read fully. The response is blank but it does seem to be trying to post. Didn't notice any other errors at that time but perhaps it was from the previous loop of errors.

My setup:
Drupal 6.19
jQuery Update 6.x-2.0-alpha1 (jQuery version 1.3.2)
CCK Field Privacy - 6.x-1.x-dev
jQuery Impromptu - drupal: 6.x-1.x-dev // javascript lib: version 3.1
On Firebug Console I have almost all "show ... errors" enabled

alexgreyhead’s picture

Also looks like exactly the same problem - looks like a client-side JS issue? - is occurring here: Drupal 6.19, current recommended version of jQuery Impromptu, Google Chrome, recommended version of CCK Field Privacy, recommended jQuery lib.

kenorb’s picture

the same problem

phpninjas’s picture

Status: Active » Patch (to be ported)
StatusFileSize
new542 bytes

The problem occurs with later versions of jQuery. The issue is because of the "@" selector which is (probably) no longer supported by jQuery.

Simple fix to the issue: open modules/cck_field_privacy/cck_field_privacy.js, go to line 31 and remove the "@" symbol from "$("input[@type='radio']", this)".

Check patch.

kenorb’s picture

Issue summary: View changes
Status: Patch (to be ported) » Closed (outdated)

Closed because Drupal 6 is no longer supported. If the issue verifiably applies to later versions, please reopen with details and update the version.