Issue #1154708 by ericduran: Fixed Impossible to disable fivestar and more also in...
authorEric J. Duran
Sat, 14 May 2011 03:16:41 +0000 (23:16 -0400)
committerEric J. Duran
Sat, 14 May 2011 03:16:41 +0000 (23:16 -0400)
js/fivestar-admin.js

index 4f400c0..aad0b5b 100644 (file)
@@ -20,8 +20,7 @@
     $text   = $('#edit-fivestar-text');
 
     // All the form elements except the enable checkbox.
-    $options = $('#fivestar-node-type-tag-form input:not(#edit-fivestar, #edit-submit), #fivestar-node-type-tag-form select');
-
+    $options = $('#fivestar-node-type-tag-form input:not(#edit-fivestar, #edit-submit, input[type=hidden]), #fivestar-node-type-tag-form select');
     // Disable the settings if not enabled.
     if (!$enable.attr('checked')) {
       $options.attr('disabled', 'disabled');