Project:Content Templates (Contemplate)
Version:6.x-1.1
Component:User interface
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

I can´t access to edit fields with drupal 6.13, I tried with page, story and my own content types, there is no way.

Mozilla gives me this error uncaught exception: Syntax error, unrecognized expression: [@id*=enable]

I have the following javascript files

I Also tried dev version.

Regards

Comments

#1

Problem solved you have to save and then you can edit, sorry.

#2

Status:active» needs review

this happens if you have updated jquery to version 1.3. (i.e. jquery_update)

http://docs.jquery.com/Selectors

Note: In jQuery 1.3 [@attr] style selectors were removed (they were previously deprecated in jQuery 1.2). Simply remove the '@' symbol from your selectors in order to make them work again.

<?php
if (Drupal.jsEnabled) {
   $(
document).ready(function(){
-    $(
"input[@id*=enable]")
+    $(
"input[id*=enable]")
       .
click(Drupal.contemplate.toggle)
   });
}
?>
AttachmentSize
contemplate.js-573500-2.patch 300 bytes

#3

thanks

#4

I also had this problem-- couldn't edit the fields. However, I didn't receive any errors. The patch fixed it! Thanks.

#5

Status:needs review» fixed

this patch has been committed

#6

Tried this fix but it worked for a couple of minutes. After creating a content type editing can be done but after creating a node by that content type editing links disappear. All other content types that have nodes unable to edit.

#7

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

nobody click here