// Retrocompatibility : Now old 1.4 template works with new chechout process. Multishipping cannot be enabled.

This commit is contained in:
mDeflotte committed 2011-12-05 17:11:26 +00:00
1 parent 86668df2ba
commit 533751ad3c
5 files changed
+145 -12

No files matched your search

+15
View File
@@ -224,3 +224,18 @@ function resizeAddressesBox(nameBox)
});
$(nameBox).height(maxHeight);
}
$(document).ready(function() {
$.fn.checkboxChange = function(fnChecked, fnUnchecked) {
if ($(this).attr('checked') && fnChecked)
fnChecked.call(this);
else if(fnUnchecked)
fnUnchecked.call(this);
if (!$(this).attr('eventCheckboxChange'))
{
$(this).live('change', function() { $(this).checkboxChange(fnChecked, fnUnchecked) });
$(this).attr('eventCheckboxChange', true);
}
}
});