[@attribute] has been replaced by [attribute] in jQuery.
authorStéphane Jacob <sj@m4x.org>
Thu, 30 Jul 2009 22:21:40 +0000 (00:21 +0200)
committerStéphane Jacob <sj@m4x.org>
Thu, 30 Jul 2009 22:23:26 +0000 (00:23 +0200)
plugins/compiler.checkpasswd.php

index 714d3e2..de984a5 100644 (file)
@@ -39,9 +39,9 @@ function smarty_compiler_checkpasswd($tag_attrs, &$compiler)
               <script type="text/javascript">//<![CDATA[
                 var passwordprompt_name = '.  $prompt . ';
                 var passwordprompt_submit = ' . $submit . ';
-                $(":input[@name=' . $prompt . ']").keyup(function(event) { checkPassword(event.target, ' . $text . '); });
+                $(":input[name=' . $prompt . ']").keyup(function(event) { checkPassword(event.target, ' . $text . '); });
                 $(document).ready(function() {
-                  checkPassword($(":input[@name=' . $prompt . ']").get(0), ' . $text . ');
+                  checkPassword($(":input[name=' . $prompt . ']").get(0), ' . $text . ');
                 });
               //]]></script>
               <div>