// id_warehouse is now on the order details and not on orders table

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10831 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
mDeflotte committed 2011-12-01 14:31:26 +00:00
1 parent b2f33740fe
commit 394206e9ef
9 files changed
+49 -25

No files matched your search

+16
View File
@@ -224,3 +224,19 @@ 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);
console.log('fff');
if (!$(this).attr('eventCheckboxChange'))
{
$(this).live('change', function() { $(this).checkboxChange(fnChecked, fnUnchecked) });
$(this).attr('eventCheckboxChange', true);
}
}
});