From 749af0b8f6a50cdac97b3d0aff8a0bd43f1affab Mon Sep 17 00:00:00 2001 From: vAugagneur Date: Sun, 18 Dec 2011 21:17:06 +0000 Subject: [PATCH] //move jquery plugin in the good folder --- .../jquery.validate-creditcard.js} | 0 modules/authorizeaim/authorizeaim.php | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename js/jquery/{jquery.validate.creditcard2-1.0.1.js => plugins/jquery.validate-creditcard.js} (100%) diff --git a/js/jquery/jquery.validate.creditcard2-1.0.1.js b/js/jquery/plugins/jquery.validate-creditcard.js similarity index 100% rename from js/jquery/jquery.validate.creditcard2-1.0.1.js rename to js/jquery/plugins/jquery.validate-creditcard.js diff --git a/modules/authorizeaim/authorizeaim.php b/modules/authorizeaim/authorizeaim.php index 191e6a930..c3ce0288a 100755 --- a/modules/authorizeaim/authorizeaim.php +++ b/modules/authorizeaim/authorizeaim.php @@ -201,7 +201,7 @@ class authorizeAIM extends PaymentModule public function hookHeader() { - $this->context->controller->addJS(_PS_JS_DIR_.'jquery/jquery.validate.creditcard2-1.0.1.js'); + $this->context->controller->addJqueryPlugin('validate-creditcard'); } /**