Permalink
Browse files

formFieldSelector was missing base.options prefix

  • Loading branch information...
1 parent 147042e commit c3395e94a271abea98add64a890b661955cdd380 @rsepulveda2 rsepulveda2 committed Dec 30, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 jquery.jcryption.js
View
@@ -39,7 +39,7 @@
$.jCryption.getKeys(base.options.getKeysURL,function(keys) {
$.jCryption.encrypt(base.$el.serialize(),keys,function(encrypted) {
$encryptedElement.val(encrypted);
- $(base.$el).find(formFieldSelector).attr("disabled",true).end().append($encryptedElement).submit();
+ $(base.$el).find(base.options.formFieldSelector).attr("disabled",true).end().append($encryptedElement).submit();
});
});
}

0 comments on commit c3395e9

Please sign in to comment.